Skip to content

Commit

Permalink
Add thraded argument to flask run
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeq committed Jul 17, 2023
1 parent 59a32e1 commit 85694a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
flask_app.register_blueprint(slack_router, url_prefix="/slack")

if __name__ == "__main__":
flask_app.run(debug=True, host="0.0.0.0", port=int(os.environ.get("PORT", 8080)))
flask_app.run(debug=True, host="0.0.0.0", port=int(os.environ.get("PORT", 8080)), threaded=True)

0 comments on commit 85694a8

Please sign in to comment.