-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indexing: configure CPU count through index options (#704)
This change allows the shard concurrency to be set through index options. This is much more convenient than the current way to limit CPU through the server flag `-cpu_fraction`. In a follow-up we'll expose shard concurrency through Sourcegraph site config, and pass it through these index options. Maybe we can deprecate and move away from `-cpu_fraction` in favor of this approach.
- Loading branch information
1 parent
0959170
commit d982320
Showing
6 changed files
with
198 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.