From a7f1f8d3273e9e72790543eaffd0bc83a2a58adb Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 24 Sep 2024 19:08:12 -0500 Subject: [PATCH] Add 1s timeout to metadata subscriber in embeddings maintainer (#13947) --- frigate/embeddings/maintainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/embeddings/maintainer.py b/frigate/embeddings/maintainer.py index 5ee8d01583..eea5c0f863 100644 --- a/frigate/embeddings/maintainer.py +++ b/frigate/embeddings/maintainer.py @@ -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