mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
make sure consumers always have plenty of work to do
This commit is contained in:
parent
5cd3eeab09
commit
fb9741f7e0
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ func main() {
|
|||
}
|
||||
|
||||
numConsumers := runtime.NumCPU() * 12
|
||||
prefetchLimit := int64(numConsumers * 2)
|
||||
prefetchLimit := int64(numConsumers * 32)
|
||||
|
||||
runtime.GOMAXPROCS(numConsumers)
|
||||
|
||||
|
|
Loading…
Reference in a new issue