Commit 14e318e6 authored by 宋柯's avatar 宋柯

redis清理

parent 8a587e68
...@@ -294,7 +294,7 @@ for search_key in search_keys: ...@@ -294,7 +294,7 @@ for search_key in search_keys:
node_del_batch_size = 10000 node_del_batch_size = 10000
node_has_del_key_count = 0 node_has_del_key_count = 0
for batch_start_idx in range(len(node_del_key_list), node_del_batch_size): for batch_start_idx in range(0,node_del_key_count, node_del_batch_size):
node_del_key_batch_list = node_del_key_list[batch_start_idx : batch_start_idx + node_del_batch_size] node_del_key_batch_list = node_del_key_list[batch_start_idx : batch_start_idx + node_del_batch_size]
# pipline = conn.pipeline() # pipline = conn.pipeline()
for node_del_key in node_del_key_batch_list: for node_del_key in node_del_key_batch_list:
......
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