From a13e171295283e93b90aa4a83c414b412d70db86 Mon Sep 17 00:00:00 2001 From: dtoro Date: Sun, 7 Jun 2026 22:43:24 +0200 Subject: [PATCH] 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. --- web/src/lib/components/timeline/BulkActionBar.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/components/timeline/BulkActionBar.svelte b/web/src/lib/components/timeline/BulkActionBar.svelte index df2fae7..bb4ec38 100644 --- a/web/src/lib/components/timeline/BulkActionBar.svelte +++ b/web/src/lib/components/timeline/BulkActionBar.svelte @@ -129,7 +129,7 @@ const result = await fn(); if (bulk) { doneBulk(bulk.doneLabel, bulk.ids); - await delay(200); + await delay(1000); } return result; } catch (e) {