Ensure connection read timeout is not too small
This commit is contained in:
parent
cbf0ec6f41
commit
480f4b00a9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue