From 2e821a68a284e997479ba2263e5697a57c7e623a Mon Sep 17 00:00:00 2001 From: pengtao Date: Thu, 19 Sep 2019 17:54:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4info=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=B8=BA3=E5=B0=8F=E6=97=B6?= 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 7a9f0b1..7a892d8 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 * 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} ")