fix cron on start, move from nicorn to waitress
This commit is contained in:
@@ -4,7 +4,6 @@ import atexit
|
||||
|
||||
with app.app_context():
|
||||
reschedule_jobs()
|
||||
scheduler.start()
|
||||
atexit.register(lambda: scheduler.shutdown())
|
||||
|
||||
serve(app, host='0.0.0.0', port=5581)
|
||||
serve(app, host='0.0.0.0', port=5581, ident='', threads=4)
|
||||
|
Reference in New Issue
Block a user