Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani committed Nov 22, 2023
1 parent a0e7e8c commit 5e47f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zoekt-sourcegraph-indexserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ func (s *Server) parallelism(opts IndexOptions, maxProcs int) int {
parallelism = s.CPUCount
}

// In case this was accidentally misconfigured, we cap the threads at 2 times the available CPUs
// In case this was accidentally misconfigured, we cap the threads at 4 times the available CPUs
if parallelism > 4 * maxProcs {
parallelism = 4 * maxProcs
}
Expand Down

0 comments on commit 5e47f95

Please sign in to comment.