mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +00:00
tone down pool sizes
This commit is contained in:
parent
ae764077b4
commit
fa8b75d728
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
|
||||
poolSize := multiplier / 8
|
||||
|
||||
db, err := cmdutil.NewDatabasePool(ctx, poolSize)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue