1
This commit is contained in:
parent
1d7e6b1310
commit
e6c845004a
@ -252,12 +252,12 @@ if __name__ == "__main__":
|
||||
|
||||
app = make_app()
|
||||
app.listen(conf['listen_port'])
|
||||
conf['rushtime'] = 10
|
||||
conf['rushtime'] = 300
|
||||
tornado.ioloop.IOLoop.current().call_later(conf['rushtime'],
|
||||
lambda : readMysqlData(conf['rushtime'])
|
||||
)
|
||||
|
||||
conf['rushtime'] = 15
|
||||
conf['rushtime'] = 3600 * 17
|
||||
tornado.ioloop.IOLoop.current().call_later(getDaySeconds(time.time(), 1) + conf['rushtime'],
|
||||
lambda : dayReadMysqlData(conf['rushtime'])
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user