mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00
after some testing, introduce multithreading
This commit is contained in:
@@ -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"])
|
||||
|
Reference in New Issue
Block a user