increase maxprocs

This commit is contained in:
Andre Medeiros 2022-10-31 16:09:03 -04:00
parent 3750374aa0
commit 62df908b33

View file

@ -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 {