This commit is contained in:
aozhiwei 2019-08-29 20:23:43 +08:00
parent 46b7b7b85a
commit 891404a220

View File

@ -223,7 +223,7 @@ if __name__ == "__main__":
app = make_app()
app.listen(conf['listen_port'])
conf['rushtime'] = 5
conf['rushtime'] = 300
tornado.ioloop.IOLoop.current().call_later(conf['rushtime'],
lambda : readMysqlData(conf['rushtime'])
)