Commit a6c5b875 authored by 宋柯's avatar 宋柯

redis清理

parent 287b1413
......@@ -277,7 +277,6 @@ for search_key in search_keys:
# del_datas.add(str(d, encoding='utf-8'))
sum += len(keys)
key_sum += len(del_datas)
print("node:{},cursor:{},len(keys):{},sum:{}".format(node,cursor, len(keys), sum))
break
# pipline = conn.pipeline()
# for d in del_datas:
......@@ -289,7 +288,7 @@ for search_key in search_keys:
# if cursor == 0 or len(data) == 0:
if cursor == "0":
break
print(key,key_sum)
print("node:{},cursor:{},len(keys):{},sum:{}".format(node,cursor, len(keys), sum))
#
# nodes = ['7877da182171e313bc9326729f82999d1b629c79'
# , 'a4d4034faa81b935c2fd583053105b37f1c92ff1'
......
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