Increase length of time for write timeout
This commit is contained in:
parent
beb7862ae8
commit
1eac7f614e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ func Setup(opts *cnf.Options) (err error) {
|
||||||
s.SetName("web")
|
s.SetName("web")
|
||||||
s.SetIdleTimeout("5s")
|
s.SetIdleTimeout("5s")
|
||||||
s.SetReadTimeout("30s")
|
s.SetReadTimeout("30s")
|
||||||
s.SetWriteTimeout("60s")
|
s.SetWriteTimeout("300s")
|
||||||
s.SetHTTPErrorHandler(errors)
|
s.SetHTTPErrorHandler(errors)
|
||||||
s.Logger().SetLogger(log.Instance())
|
s.Logger().SetLogger(log.Instance())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue