Commit 8adec39f authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix: make app threaded to allow multiprocess

parent f4591d30
......@@ -121,7 +121,7 @@ def run(mode="standalone", debug=False, host="127.0.0.1", port=5000, no_crons=Fa
"app": app
})
thread.start()
app.run(host=host, port=port, debug=debug)
app.run(host=host, port=port, debug=debug, threaded=True)
def clear_crons():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment