mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
increase maxprocs
This commit is contained in:
parent
3750374aa0
commit
62df908b33
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
|
|||
consumers := runtime.NumCPU() * multiplier
|
||||
poolSize := multiplier / 4
|
||||
|
||||
runtime.GOMAXPROCS(poolSize)
|
||||
runtime.GOMAXPROCS(multiplier)
|
||||
|
||||
db, err := cmdutil.NewDatabasePool(ctx, poolSize)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue