Ensure connection read timeout is not too small

This commit is contained in:
Tobie Morgan Hitchcock 2020-02-21 13:51:20 +00:00
parent cbf0ec6f41
commit 480f4b00a9

View file

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