diff options
Diffstat (limited to 'service/health/service.go')
-rw-r--r-- | service/health/service.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/service/health/service.go b/service/health/service.go index ce127340..b9b22a8a 100644 --- a/service/health/service.go +++ b/service/health/service.go @@ -3,11 +3,12 @@ package health import ( "context" "fmt" - "github.com/sirupsen/logrus" "net/http" "sync" "time" + "github.com/sirupsen/logrus" + rrhttp "github.com/spiral/roadrunner/service/http" ) @@ -45,8 +46,8 @@ func (s *Service) Serve() error { // Configure and start the http server s.mu.Lock() s.http = &http.Server{ - Addr: s.cfg.Address, - Handler: s, + Addr: s.cfg.Address, + Handler: s, IdleTimeout: time.Hour * 24, ReadTimeout: time.Minute * 60, MaxHeaderBytes: maxHeaderSize, |