添加过期key日志
This commit is contained in:
parent
1f6e04300f
commit
54993be155
@ -152,7 +152,7 @@ def produce_task():
|
||||
|
||||
if adlist:
|
||||
for key in adlist.keys():
|
||||
my_redis.sadd(key, json.dumps(adlist[key]))
|
||||
my_redis.set(key, json.dumps(adlist[key]))
|
||||
my_redis.expire(key, adkey_expire)
|
||||
|
||||
for key in adinfo:
|
||||
|
Loading…
x
Reference in New Issue
Block a user