diff options
author | Valery Piashchynski <[email protected]> | 2020-11-10 14:45:59 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-10 14:45:59 +0300 |
commit | 7eb675a031d751787b31bd6894c936e86b190ebf (patch) | |
tree | 4fd570a325fccfc1e7ed3fa51b3e78c2f4172076 /supervisor_pool.go | |
parent | 49225cd9b0796ba381a767dfebd5b3c1dbbac69e (diff) |
Pool options, allocator
Diffstat (limited to 'supervisor_pool.go')
-rwxr-xr-x | supervisor_pool.go | 4 |
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, |