mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-09 15:05:26 +03:00
Don't wait for topic
This commit is contained in:
parent
7411a8bafa
commit
ba57e67043
@ -792,9 +792,7 @@ class TrackedObjectProcessor(threading.Thread):
|
|||||||
|
|
||||||
# check for sub label updates
|
# check for sub label updates
|
||||||
while True:
|
while True:
|
||||||
(topic, payload) = self.sub_label_subscriber.check_for_update(
|
(topic, payload) = self.sub_label_subscriber.check_for_update(timeout=0)
|
||||||
timeout=0.1
|
|
||||||
)
|
|
||||||
|
|
||||||
if not topic:
|
if not topic:
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user