From 41def5da6c08ac8a1ab5890ee97947763681851f Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 17 Jul 2019 10:19:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=A5=E5=8F=A3=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ad_interface_tornado.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ad_interface_tornado.py b/ad_interface_tornado.py index 9385a85..69469e0 100644 --- a/ad_interface_tornado.py +++ b/ad_interface_tornado.py @@ -60,6 +60,7 @@ def send_cache_data(): key = f"ad::{line.get('gameid', 0)}::{line.get('locationid', 0)}" if my_redis.exists(key): my_redis.sadd(key, line['id']) + log.info(f"add{line['id']} to {key} !") # 检查num是否已达到设定数值 num = my_redis.get(f"ad::{line['id']}::num") if not num: