From c4537154d029c61a3e0247480a830a31eef0c2d9 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 18 Sep 2019 17:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B9=BF=E5=91=8A=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E6=97=B6=EF=BC=8C=E5=B9=BF=E5=91=8A=E4=BD=8D=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=AD=98=E5=9C=A8=E7=9A=84=E5=88=A4=E6=96=AD?= 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 c22d89d..464c6a3 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 * 60*3) + my_redis.expire(info_key, 60 * 3) #log.info(f"add info {new_line} 2 {info_key}!") else: log.error(f"split adinfo about locationid failed! localtionid={locationid} ")