Confirm caption batches before marking them synced

This commit is contained in:
Sleeps
2026-10-07 14:27:38 +01:00
parent 6a7c27448c
commit 7ae650e24e
+1 -1
View File
@@ -63,7 +63,7 @@ def sync_frame_metadata(
]
client = meili or _meili_client()
client.update_documents(documents)
client.update_documents(documents, wait=True)
synced_ids = [str(row["id"]) for row in rows]
placeholders = ",".join("?" for _ in synced_ids)