1
This commit is contained in:
parent
447eed2bef
commit
af12a5f61a
@ -231,11 +231,9 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
app = make_app()
|
app = make_app()
|
||||||
app.listen(conf['listen_port'])
|
app.listen(conf['listen_port'])
|
||||||
rushtime = 300
|
conf['rushtime'] = 300
|
||||||
if conf['rushtime']:
|
tornado.ioloop.IOLoop.current().call_later(conf['rushtime'],
|
||||||
rushtime = conf['rushtime']
|
lambda : readMysqlData(conf['rushtime'])
|
||||||
tornado.ioloop.IOLoop.current().call_later(rushtime,
|
|
||||||
lambda : readMysqlData(rushtime)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
conf['day_rushtime'] = 5 * 3600
|
conf['day_rushtime'] = 5 * 3600
|
||||||
|
Loading…
x
Reference in New Issue
Block a user