Run flask as multi threaded

This commit is contained in:
Nicolas Mowen 2023-09-01 09:17:41 -06:00 committed by GitHub
parent 3c25c578f0
commit c14a2c96f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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