Decrease idle timeout for keepalive requests
This commit is contained in:
parent
fb1f1c0340
commit
94d017242f
1 changed files with 1 additions and 1 deletions
|
@ -31,9 +31,9 @@ func Setup(opts *cnf.Options) (err error) {
|
|||
|
||||
routes(s)
|
||||
s.SetName("web")
|
||||
s.SetIdleTimeout("5s")
|
||||
s.SetReadTimeout("30s")
|
||||
s.SetWriteTimeout("60s")
|
||||
s.SetIdleTimeout("650s")
|
||||
s.SetHTTPErrorHandler(errors)
|
||||
s.Logger().SetLogger(log.Instance())
|
||||
|
||||
|
|
Loading…
Reference in a new issue