diff --git a/services/web.go b/services/web.go index 4850adf..a9477e4 100644 --- a/services/web.go +++ b/services/web.go @@ -5,7 +5,6 @@ import ( "io" "net" "net/http" - "time" logrusmiddleware "github.com/bakins/logrus-middleware" joonix "github.com/joonix/log" @@ -58,9 +57,9 @@ func (s *Web) Serve() error { } log.Infof("Serving Web at %v", addr) srv := &http.Server{ - Handler: l.Handler(mux, ""), - ReadTimeout: 5 * time.Minute, - WriteTimeout: 5 * time.Minute, + Handler: l.Handler(mux, ""), + // ReadTimeout: 5 * time.Minute, + // WriteTimeout: 5 * time.Minute, MaxHeaderBytes: 50 << 20, } return srv.Serve(ln)