diff --git a/web/web.go b/web/web.go index a75ef6b2..990e27e1 100644 --- a/web/web.go +++ b/web/web.go @@ -31,6 +31,8 @@ func Setup(opts *cnf.Options) (err error) { routes(s) s.SetName("web") + s.SetReadTimeout("5s") + s.SetWriteTimeout("60s") s.SetIdleTimeout("650s") s.SetHTTPErrorHandler(errors) s.Logger().SetLogger(log.Instance())