reduce batch size for indexing to avoid API limits
This commit is contained in:
parent
cd187b6bee
commit
1a4ffd17a8
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export class CodebaseIndexer {
|
|||
* - To limit memory usage for indexes that perform computations locally, e.g. FTS
|
||||
* - To make as few requests as possible to the embeddings providers
|
||||
*/
|
||||
filesPerBatch = 1000;
|
||||
filesPerBatch = 500;
|
||||
|
||||
// Note that we exclude certain Sqlite errors that we do not want to clear the indexes on,
|
||||
// e.g. a `SQLITE_BUSY` error.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue