mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +00:00
double pool
This commit is contained in:
parent
ceade8fe74
commit
63cc67cd86
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue