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