会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Animal
the day
博客园
首页
新随笔
联系
订阅
管理
2020年3月26日
分布式锁-Redis方案
摘要: 1 #!/usr/bin/env python 2 # coding=utf-8 3 4 import time 5 import redis 6 7 class RedisLock(object): 8 def __init__(self, key): 9 self.rdcon = redis.R
阅读全文
posted @ 2020-03-26 13:11 AnimalRabbit
阅读(251)
评论(0)
推荐(0)
公告