mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
reduce pool size
This commit is contained in:
parent
b05532e2fd
commit
6627fd4102
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue