Commit 88c5c57f authored by 张彦钊's avatar 张彦钊

change

parent 71dd6843
......@@ -58,7 +58,7 @@ def topic_key():
r = redis.StrictRedis.from_url('redis://:ReDis!GmTx*0aN6@172.16.40.133:6379')
cursor = 0
while True:
new_cursor,keys_list = r.scan(cursor,"TS:recommend_tractate_set:device_id:*",2000)
new_cursor,keys_list = r.scan(cursor,"TS:recommend_answer_set:device_id:*",2000)
delete_keys = []
for i in keys_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