From 87240b5ef70edb9d07d77edc4e965c064b407fe3 Mon Sep 17 00:00:00 2001 From: Sleeps Date: Wed, 7 Oct 2026 14:30:16 +0100 Subject: [PATCH] Report failed incremental caption batches as pending --- scene_search/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_search/sync.py b/scene_search/sync.py index 9f9eca8..c9e26db 100644 --- a/scene_search/sync.py +++ b/scene_search/sync.py @@ -175,7 +175,7 @@ class CaptionMeiliSync: count = sync_frame_metadata(frame_ids, meili=self.meili) except Exception as exc: self.last_error = str(exc) - self._report() + self._report(pending=len(frame_ids)) print(f"WARN caption Meilisearch batch update failed: {exc}") return 0