mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 05:07:43 +00:00
multiply procfile some more
This commit is contained in:
parent
8a777d2ee6
commit
71884ccb80
2 changed files with 2 additions and 2 deletions
2
Procfile
2
Procfile
|
@ -1,3 +1,3 @@
|
||||||
web: apollo api
|
web: apollo api
|
||||||
scheduler: apollo scheduler
|
scheduler: apollo scheduler
|
||||||
worker-notifications: apollo worker --queue notifications --multiplier 32
|
worker-notifications: apollo worker --queue notifications --multiplier 128
|
||||||
|
|
|
@ -69,7 +69,7 @@ func NewClient(id, secret string, statsd *statsd.Client, connLimit int) *Client
|
||||||
t.MaxIdleConns = connLimit / 4
|
t.MaxIdleConns = connLimit / 4
|
||||||
t.MaxConnsPerHost = connLimit
|
t.MaxConnsPerHost = connLimit
|
||||||
t.MaxIdleConnsPerHost = connLimit / 4
|
t.MaxIdleConnsPerHost = connLimit / 4
|
||||||
t.IdleConnTimeout = 10 * time.Second
|
t.IdleConnTimeout = 60 * time.Second
|
||||||
t.ResponseHeaderTimeout = 5 * time.Second
|
t.ResponseHeaderTimeout = 5 * time.Second
|
||||||
|
|
||||||
client := &http.Client{Transport: t}
|
client := &http.Client{Transport: t}
|
||||||
|
|
Loading…
Reference in a new issue