Commit afca0d8d authored by Jérome Perrin's avatar Jérome Perrin

Flask: run server in multithreaded mode

parent db906084
......@@ -218,7 +218,7 @@ def main(*args):
app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0
# start the server
app.run(debug=arguments.debug, host=arguments.host, port=arguments.port)
app.run(debug=arguments.debug, host=arguments.host, port=arguments.port, threaded=True)
if __name__ == "__main__":
main()
Markdown is supported
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