summaryrefslogtreecommitdiff
path: root/plugins/http/handler.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-16 14:21:35 +0300
committerValery Piashchynski <[email protected]>2020-11-16 14:21:35 +0300
commit57ad958acab2d108be0a35547faf6e7a791cf069 (patch)
tree3c519708540265a7e74b03d1fe17ef4101ffcfdf /plugins/http/handler.go
parentd890eee1742dc3a0a1c787f7e65d40b1e81a94db (diff)
Update Pool
Diffstat (limited to 'plugins/http/handler.go')
-rw-r--r--plugins/http/handler.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/http/handler.go b/plugins/http/handler.go
index 2bda4f1d..5b612d7e 100644
--- a/plugins/http/handler.go
+++ b/plugins/http/handler.go
@@ -10,6 +10,8 @@ import (
"time"
"github.com/pkg/errors"
+ "github.com/spiral/roadrunner/v2"
+ "github.com/spiral/roadrunner/v2/interfaces/log"
)
const (
@@ -60,8 +62,8 @@ func (e *ResponseEvent) Elapsed() time.Duration {
// parsed files and query, payload will include parsed form dataTree (if any).
type Handler struct {
cfg *Config
- log *logrus.Logger
- rr *roadrunner.Server
+ log log.Logger
+ rr roadrunner.Pool
mul sync.Mutex
lsn func(event int, ctx interface{})
}