Add 1s timeout to metadata subscriber in embeddings maintainer (#13947)

This commit is contained in:
Josh Hawkins 2024-09-24 19:08:12 -05:00 committed by GitHub
parent 8c540d7210
commit a7f1f8d327
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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