We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9af7a commit 2f0b319Copy full SHA for 2f0b319
src/core/auto-refresh.ts
@@ -25,6 +25,10 @@ export function createAutoRefreshController(): AutoRefreshController {
25
return true;
26
},
27
consumeQueuedRefresh: (indexStatus) => {
28
+ if (indexStatus === 'indexing') {
29
+ // Defensive: if called while indexing, do not clear the queue.
30
+ return false;
31
+ }
32
const shouldRun = queued && indexStatus === 'ready';
33
queued = false;
34
return shouldRun;
0 commit comments