double pool

This commit is contained in:
Andre Medeiros 2022-07-13 17:45:48 -04:00
parent ceade8fe74
commit 63cc67cd86

View file

@ -46,7 +46,7 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
defer statsd.Close() defer statsd.Close()
consumers := runtime.NumCPU() * multiplier consumers := runtime.NumCPU() * multiplier
poolSize := multiplier / 8 poolSize := multiplier / 4
db, err := cmdutil.NewDatabasePool(ctx, poolSize) db, err := cmdutil.NewDatabasePool(ctx, poolSize)
if err != nil { if err != nil {