mirror of
https://codeberg.org/privacy1st/MastodonTootFollower
synced 2024-12-22 23:06:05 +01:00
disable multithreading
This commit is contained in:
parent
23a36ef2f9
commit
844eba0386
@ -70,4 +70,4 @@ def json(seed: str):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0', port=5000)
|
||||
app.run(host='0.0.0.0', port=5000, threaded=False)
|
||||
|
@ -5,4 +5,4 @@ from waitress import serve
|
||||
import flask_server
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user