Commit 88d11412 authored by Yaowentong's avatar Yaowentong

1

parent 0081c6f3
...@@ -163,10 +163,11 @@ if __name__ == '__main__': ...@@ -163,10 +163,11 @@ if __name__ == '__main__':
'WXYY:geo:batch:list', 'WXYY:geo:batch:list',
'geo:task_commit:list'] 'geo:task_commit:list']
t = init_redis() t = init_redis()
# print(t.scard('mt_third_task')) # # print(t.scard('mt_third_task'))
while 1: while 1:
for k in key_list: for k in key_list:
# print(t.smembers(k))
print(f"{k}----{t.llen(k)}") print(f"{k}----{t.llen(k)}")
time.sleep(10) time.sleep(10)
# key = "third_cx_user_id"
#
# print(len(t.smembers(key)))
\ No newline at end of file
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