Increase connection read timeout

This commit is contained in:
Tobie Morgan Hitchcock 2020-03-28 09:59:51 +00:00
parent 8a8b8811c9
commit b3fd17045a

View file

@ -31,7 +31,7 @@ func Setup(opts *cnf.Options) (err error) {
routes(s) routes(s)
s.SetName("web") s.SetName("web")
s.SetReadTimeout("15s") s.SetReadTimeout("30s")
s.SetWriteTimeout("60s") s.SetWriteTimeout("60s")
s.SetIdleTimeout("650s") s.SetIdleTimeout("650s")
s.SetHTTPErrorHandler(errors) s.SetHTTPErrorHandler(errors)