summaryrefslogtreecommitdiff
path: root/supervisor_pool.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-10 14:45:59 +0300
committerValery Piashchynski <[email protected]>2020-11-10 14:45:59 +0300
commit7eb675a031d751787b31bd6894c936e86b190ebf (patch)
tree4fd570a325fccfc1e7ed3fa51b3e78c2f4172076 /supervisor_pool.go
parent49225cd9b0796ba381a767dfebd5b3c1dbbac69e (diff)
Pool options, allocator
Diffstat (limited to 'supervisor_pool.go')
-rwxr-xr-xsupervisor_pool.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/supervisor_pool.go b/supervisor_pool.go
index e23abdd1..43c36ae4 100755
--- a/supervisor_pool.go
+++ b/supervisor_pool.go
@@ -19,13 +19,13 @@ type SupervisedPool interface {
type supervisedPool struct {
cfg *SupervisorConfig
- events *util.EventHandler
+ events util.EventsHandler
pool Pool
stopCh chan struct{}
mu *sync.RWMutex
}
-func newPoolWatcher(pool Pool, events *util.EventHandler, cfg *SupervisorConfig) SupervisedPool {
+func newPoolWatcher(pool Pool, events util.EventsHandler, cfg *SupervisorConfig) SupervisedPool {
sp := &supervisedPool{
cfg: cfg,
events: events,