mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-31 00:18:55 +01:00
Add 1s timeout to metadata subscriber in embeddings maintainer (#13947)
This commit is contained in:
parent
8c540d7210
commit
a7f1f8d327
@ -151,7 +151,7 @@ class EmbeddingMaintainer(threading.Thread):
|
||||
|
||||
def _process_event_metadata(self):
|
||||
# Check for regenerate description requests
|
||||
(topic, event_id) = self.event_metadata_subscriber.check_for_update()
|
||||
(topic, event_id) = self.event_metadata_subscriber.check_for_update(timeout=1)
|
||||
|
||||
if topic is None:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user