Comment on the apscheduler event loop hack
This commit is contained in:
parent
19ad84414a
commit
bb6f3375eb
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ def main():
|
||||||
server = get_server()
|
server = get_server()
|
||||||
scheduler = create_scheduler()
|
scheduler = create_scheduler()
|
||||||
|
|
||||||
|
# HACK: APScheduler doesn't like running in an external event loop. https://github.com/agronholm/apscheduler/issues/360
|
||||||
Process(target=run_web_app, args=(server,)).start()
|
Process(target=run_web_app, args=(server,)).start()
|
||||||
Process(target=start_scheduler, args=(scheduler,)).start()
|
Process(target=start_scheduler, args=(scheduler,)).start()
|
||||||
|
|
||||||
|
|
Reference in a new issue