From d710be468ce59078ea390fb016881c77b5894602 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 14 Feb 2025 21:38:18 -0800 Subject: [PATCH] cleanup --- core/indexing/docs/DocsService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/indexing/docs/DocsService.ts b/core/indexing/docs/DocsService.ts index 77e7543d8..ba74b3a01 100644 --- a/core/indexing/docs/DocsService.ts +++ b/core/indexing/docs/DocsService.ts @@ -365,10 +365,10 @@ export default class DocsService { // First, if indexing is already in process, don't attempt // This queue is necessary because indexAndAdd is invoked circularly by config edits + // TODO shouldn't really be a gap between adding and checking in queue but probably fine if (this.docsIndexingQueue.has(startUrl)) { return; } - this.docsIndexingQueue.add(startUrl); const { isPreindexed, provider } = await this.getEmbeddingsProvider(startUrl);