Increase length of time for write timeout

This commit is contained in:
Tobie Morgan Hitchcock 2021-11-27 19:50:12 +00:00
parent beb7862ae8
commit 1eac7f614e

View file

@ -33,7 +33,7 @@ func Setup(opts *cnf.Options) (err error) {
s.SetName("web")
s.SetIdleTimeout("5s")
s.SetReadTimeout("30s")
s.SetWriteTimeout("60s")
s.SetWriteTimeout("300s")
s.SetHTTPErrorHandler(errors)
s.Logger().SetLogger(log.Instance())