Commit 8c50a98a authored by 宋柯's avatar 宋柯

redis清理

parent ceb75a72
......@@ -272,7 +272,8 @@ for search_key in search_keys:
cursor = str(cursor,encoding='utf-8')
for key in keys:
key = str(key, encoding='utf-8')
print("key:{}".format(key))
idletime = conn.object(('idletime', key))
print("key:{},idletime:{}".format(key,idletime))
# if len(dd) > 0 and dd.startswith(key_k):
# del_datas.add(str(d, encoding='utf-8'))
sum += len(keys)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment