添加返回条数控制
This commit is contained in:
parent
f62e4c2489
commit
514c8b58b1
@ -18,7 +18,7 @@ import pdb
|
|||||||
define_logger("/data/logs/ad_interface_tornado.log")
|
define_logger("/data/logs/ad_interface_tornado.log")
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
limit = 2
|
limit = 3
|
||||||
|
|
||||||
|
|
||||||
def send_cache_data():
|
def send_cache_data():
|
||||||
@ -141,7 +141,6 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
log.error(result)
|
log.error(result)
|
||||||
self.write_error(2)
|
self.write_error(2)
|
||||||
return False
|
return False
|
||||||
pdb.set_trace()
|
|
||||||
if gameid and locationid:
|
if gameid and locationid:
|
||||||
key = f"ad::{gameid}::{locationid}"
|
key = f"ad::{gameid}::{locationid}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user