diff options
Diffstat (limited to 'static_pool.go')
-rw-r--r-- | static_pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static_pool.go b/static_pool.go index 48ff4853..b974ac90 100644 --- a/static_pool.go +++ b/static_pool.go @@ -86,7 +86,7 @@ func (p *StaticPool) Listen(l func(event int, ctx interface{})) { p.muw.Lock() for _, w := range p.workers { - w.err.Listen(l) + w.err.Listen(p.lsn) } p.muw.Unlock() } |