Run flask as multi threaded (#7648)

This commit is contained in:
Nicolas Mowen authored and GitHub committed 2023-09-02 05:41:46 -05:00
1 parent 3c25c578f0
commit 36434bb26d
1 file changed
+1 -1
+1 -1
View File
@@ -625,7 +625,7 @@ class FrigateApp:
signal.signal(signal.SIGTERM, receiveSignal)
try:
self.flask_app.run(host="127.0.0.1", port=5001, debug=False)
self.flask_app.run(host="127.0.0.1", port=5001, debug=False, threaded=True)
except KeyboardInterrupt:
pass