Commit af490555 authored by 宋柯's avatar 宋柯

redis清理

parent 9372d668
......@@ -254,9 +254,9 @@ nodes=['7877da182171e313bc9326729f82999d1b629c79'
,'f3f1ec6df458a5093c31663517a3cadaed5ab29c'
,'d35c630aad0a8b7f579bf4100f2860401b5d4f52']
# keys = ['rims:tag_v3:coldstart:','doris:tag_v3:coldstart:']
search_keys = ['streaming:candidate:newCpcDiary:device_id:']
do_delete = True
idletime_max = 60 * 60
search_keys = ['']
do_delete = False
idletime_max = 60 * 60 * 24 * 15
# conn2 = getRedisConn2()
for search_key in search_keys:
search_key = search_key + '*'
......
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