Increase keepalive idle timeouts for loadbalancers

This commit is contained in:
Tobie Morgan Hitchcock 2019-11-21 00:44:09 +00:00
parent c3b0bf3a26
commit 89e84283a4

View file

@ -31,9 +31,9 @@ func Setup(opts *cnf.Options) (err error) {
routes(s) routes(s)
s.SetName("web") s.SetName("web")
s.SetIdleTimeout("60s") s.SetIdleTimeout("650s")
s.SetReadTimeout("60s") s.SetReadTimeout("10s")
s.SetWriteTimeout("60s") s.SetWriteTimeout("10s")
s.SetHTTPErrorHandler(errors) s.SetHTTPErrorHandler(errors)
s.Logger().SetLogger(log.Instance()) s.Logger().SetLogger(log.Instance())