disable multithreading

This commit is contained in:
Daniel Langbein 2022-12-14 19:40:58 +01:00
parent 23a36ef2f9
commit 844eba0386
2 changed files with 2 additions and 2 deletions

View File

@ -70,4 +70,4 @@ def json(seed: str):
if __name__ == '__main__': if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000) app.run(host='0.0.0.0', port=5000, threaded=False)

View File

@ -5,4 +5,4 @@ from waitress import serve
import flask_server import flask_server
if __name__ == '__main__': if __name__ == '__main__':
serve(flask_server.app, host='0.0.0.0', port=5000) serve(flask_server.app, host='0.0.0.0', port=5000, threads=1)