From 1b9431d0eb72fadf8b42b21693ccd184f222e4f7 Mon Sep 17 00:00:00 2001 From: pengtao Date: Tue, 17 Sep 2019 16:39:16 +0800 Subject: [PATCH] =?UTF-8?q?info=20key=E5=88=B7=E6=96=B0=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ad_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ad_tasks.py b/ad_tasks.py index eb20013..1d46f5d 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -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 * 2) + 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} ")