Skip to content

Commit

Permalink
Add 1s timeout to metadata subscriber in embeddings maintainer (#13947)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 authored Sep 25, 2024
1 parent 8c540d7 commit a7f1f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/embeddings/maintainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _process_finalized(self) -> None:

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
Expand Down

0 comments on commit a7f1f8d

Please sign in to comment.