summaryrefslogtreecommitdiff
path: root/service/http/service.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-12 20:45:24 +0300
committerWolfy-J <[email protected]>2018-06-12 20:45:24 +0300
commit99c1121d8fd31b7b61b6c22e181dc3c05a3f9f82 (patch)
tree25e6baf4eaf4e4ebd37c2431e485dfe3f4e3ac11 /service/http/service.go
parentf8d8e9a55d31c6ee98b1f292e49b31b474883a4f (diff)
static pool logic update, better watching techniques
Diffstat (limited to 'service/http/service.go')
-rw-r--r--service/http/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/http/service.go b/service/http/service.go
index 40eec579..a3773468 100644
--- a/service/http/service.go
+++ b/service/http/service.go
@@ -22,7 +22,7 @@ type Service struct {
listeners []func(event int, ctx interface{})
middleware []middleware
rr *roadrunner.Server
- srv *Server
+ srv *Handler
http *http.Server
}
@@ -68,7 +68,7 @@ func (s *Service) Serve() error {
rr := roadrunner.NewServer(s.cfg.Workers)
s.rr = rr
- s.srv = &Server{cfg: s.cfg, rr: s.rr}
+ s.srv = &Handler{cfg: s.cfg, rr: s.rr}
s.http = &http.Server{Addr: s.cfg.Address}
s.rr.Listen(s.listener)