after some testing, introduce multithreading

This commit is contained in:
Fabian Dill
2020-06-24 08:34:53 +02:00
parent 8367351c62
commit 647c802b2f
2 changed files with 4 additions and 1 deletions

View File

@@ -29,4 +29,4 @@ if __name__ == "__main__":
if DEBUG:
app.run(debug=True, port=port)
else:
serve(app, port=port, threads=1)
serve(app, port=port, threads=app.config["WAITRESS_THREADS"])