fix expire time to 24 hours

This commit is contained in:
root 2019-09-20 15:35:04 +08:00
parent 09a5dff82f
commit 8d6c0f9bd6

View File

@ -58,7 +58,7 @@ def sadd_adkey(key, line):
if new_line: if new_line:
my_redis.hmset(info_key, new_line) my_redis.hmset(info_key, new_line)
my_redis.expire(info_key, 60 * 60 * 3) my_redis.expire(info_key, 60 * 60 * 24)
#log.info(f"add info {new_line} 2 {info_key}!") #log.info(f"add info {new_line} 2 {info_key}!")
else: else:
log.error(f"split adinfo about locationid failed! localtionid={locationid} ") log.error(f"split adinfo about locationid failed! localtionid={locationid} ")