bump post-action delay to 1s for PhotoPrism indexer to catch up

200ms was too short - PhotoPrism's batch archive marks photos in the DB
but the search index (used by /api/v1/photos) updates asynchronously.
1s gives the indexer time to reflect the change before we invalidate
and refetch the timeline.
This commit is contained in:
2026-06-07 22:43:24 +02:00
parent 73c36b4817
commit a13e171295

View File

@@ -129,7 +129,7 @@
const result = await fn(); const result = await fn();
if (bulk) { if (bulk) {
doneBulk(bulk.doneLabel, bulk.ids); doneBulk(bulk.doneLabel, bulk.ids);
await delay(200); await delay(1000);
} }
return result; return result;
} catch (e) { } catch (e) {