fix cron on start, move from nicorn to waitress

This commit is contained in:
Mateusz Gruszczyński
2025-02-24 08:42:51 +01:00
parent 0689e887ea
commit 972e7c61cd
3 changed files with 8 additions and 12 deletions

View File

@@ -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)