Update CodeSnippetsIndex.ts

This commit is contained in:
Test 2024-08-27 14:32:41 -07:00
parent d1a451ccf4
commit b4e9af9799

View file

@ -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);