summaryrefslogtreecommitdiff
path: root/static_pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-23 19:04:50 +0300
committerWolfy-J <[email protected]>2018-06-23 19:04:50 +0300
commit008a42fc6138e74766cdf9011a8dfc60df71b4a0 (patch)
treecdf85cb5536c8416020ca21475751dae0b9117a0 /static_pool.go
parent918e7de39e16eb293567427f2e8e8c3035690163 (diff)
error aggregation
Diffstat (limited to 'static_pool.go')
-rw-r--r--static_pool.go2
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()
}