summaryrefslogtreecommitdiff
path: root/static_pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-13 20:17:22 +0300
committerWolfy-J <[email protected]>2018-06-13 20:17:22 +0300
commit1073eae0a28c6c4603763e79437891e6acdcc988 (patch)
tree8a87f17eb423f1cbbb2f9e96fcf6d5474ade2234 /static_pool.go
parentbf7156d3ad1a1c1735a6ddc37de999cbf9f4f0e8 (diff)
dead worker better counter
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 07aa2028..df20ad20 100644
--- a/static_pool.go
+++ b/static_pool.go
@@ -250,7 +250,7 @@ func (p *StaticPool) watchWorker(w *Worker) {
}
p.muw.Unlock()
- // registering dead worker
+ // registering a dead worker
atomic.AddInt64(&p.numDead, 1)
// worker have died unexpectedly, pool should attempt to replace it with alive version safely