调整info过期时间为3小时

This commit is contained in:
pengtao 2019-09-19 17:54:46 +08:00
parent d22002818a
commit 2e821a68a2

View File

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