mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-29 07:07:42 +00:00
a few more connections please
This commit is contained in:
parent
7692971b89
commit
cbcab2a992
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
|
||||||
defer statsd.Close()
|
defer statsd.Close()
|
||||||
|
|
||||||
consumers := runtime.NumCPU() * multiplier
|
consumers := runtime.NumCPU() * multiplier
|
||||||
poolSize := multiplier / 8
|
poolSize := multiplier / 4
|
||||||
|
|
||||||
db, err := cmdutil.NewDatabasePool(ctx, poolSize)
|
db, err := cmdutil.NewDatabasePool(ctx, poolSize)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue