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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user