Skip to content

NVR with realtime local object detection for IP cameras

Run flask as multi threaded (#7648)

Nicolas Mowen36434bb26d4a
diff --git a/frigate/app.py b/frigate/app.py
index 89f3e22210..4e14780f2f 100644
--- a/frigate/app.py
+++ b/frigate/app.py
@@ -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