multiply procfile some more

This commit is contained in:
Andre Medeiros 2021-07-13 20:34:04 -04:00
parent 8a777d2ee6
commit 71884ccb80
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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}