Merge pull request #1985 from teslamotors/user/rleidle/set-batch-size
Change the indexing batch size to a static value of 100
This commit is contained in:
commit
f9163a0f49
1 changed files with 1 additions and 2 deletions
|
|
@ -270,8 +270,7 @@ export class CodebaseIndexer {
|
|||
}
|
||||
|
||||
private getBatchSize(workspaceSize: number): number {
|
||||
// at least 10 and as much as 100 (in a repository with 10000 files)
|
||||
return Math.min(100, Math.max(10, Math.floor(workspaceSize / 100)));
|
||||
return 100;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue