From b4e9af97991609b16427fab374789420df63f8a5 Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 27 Aug 2024 14:32:41 -0700 Subject: [PATCH] Update CodeSnippetsIndex.ts --- core/indexing/CodeSnippetsIndex.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/indexing/CodeSnippetsIndex.ts b/core/indexing/CodeSnippetsIndex.ts index 27a7e90cb..cfc180bb2 100644 --- a/core/indexing/CodeSnippetsIndex.ts +++ b/core/indexing/CodeSnippetsIndex.ts @@ -367,7 +367,7 @@ export class CodeSnippetsCodebaseIndex implements CodebaseIndex { static async *getAllPathsAndSignatures( workspaceDir: string, - batchSize: number = 1000, + batchSize: number = 100, ): AsyncGenerator<{ [path: string]: string[] }> { const db = await SqliteDb.get(); await CodeSnippetsCodebaseIndex._createTables(db);