reduce pool size

This commit is contained in:
Andre Medeiros 2022-11-05 20:16:45 -04:00
parent b05532e2fd
commit 6627fd4102

View file

@ -52,7 +52,7 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
tracer := otel.Tracer(tag) tracer := otel.Tracer(tag)
poolSize := consumers / 4 poolSize := consumers / 16
db, err := cmdutil.NewDatabasePool(ctx, poolSize) db, err := cmdutil.NewDatabasePool(ctx, poolSize)
if err != nil { if err != nil {