From 63cc67cd869f0d6acac2b48ce57c75516ae993fa Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Wed, 13 Jul 2022 17:45:48 -0400 Subject: [PATCH] double pool --- internal/cmd/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/worker.go b/internal/cmd/worker.go index a3da327..9426556 100644 --- a/internal/cmd/worker.go +++ b/internal/cmd/worker.go @@ -46,7 +46,7 @@ func WorkerCmd(ctx context.Context) *cobra.Command { defer statsd.Close() consumers := runtime.NumCPU() * multiplier - poolSize := multiplier / 8 + poolSize := multiplier / 4 db, err := cmdutil.NewDatabasePool(ctx, poolSize) if err != nil {