From 464b50e96bafc4b636d4d44c6375dfc97ed2cc85 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 9 Oct 2019 18:16:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E6=97=A5=E5=BF=97=E7=94=A8?= =?UTF-8?q?=E4=BA=8E=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ops/ad_produce.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ops/ad_produce.py b/ops/ad_produce.py index aadcd30..6644d8f 100644 --- a/ops/ad_produce.py +++ b/ops/ad_produce.py @@ -165,8 +165,11 @@ def produce_task(): except Exception: log.error(f"split {line} failed!", exc_info=True) run_status = 0 + log.info(f"produce {len(all)} 2 redis!") #log.info("end produce cache!") my_redis.set("ad_produce", run_status) now = datetime.datetime.now() timestamp = int(datetime.datetime.timestamp(now)) my_redis.set("ad_produce_time", timestamp) + del data + del all