mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
Run flask as multi threaded (#7648)
This commit is contained in:
parent
3c25c578f0
commit
36434bb26d
@ -625,7 +625,7 @@ class FrigateApp:
|
|||||||
signal.signal(signal.SIGTERM, receiveSignal)
|
signal.signal(signal.SIGTERM, receiveSignal)
|
||||||
|
|
||||||
try:
|
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:
|
except KeyboardInterrupt:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user