添加返回条数控制

This commit is contained in:
pengtao 2019-07-17 17:27:46 +08:00
parent f62e4c2489
commit 514c8b58b1

View File

@ -18,7 +18,7 @@ import pdb
define_logger("/data/logs/ad_interface_tornado.log")
log = logging.getLogger(__name__)
limit = 2
limit = 3
def send_cache_data():
@ -141,7 +141,6 @@ class DispatchHandler(tornado.web.RequestHandler):
log.error(result)
self.write_error(2)
return False
pdb.set_trace()
if gameid and locationid:
key = f"ad::{gameid}::{locationid}"