Skip to content

Commit

Permalink
dead worker better counter
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Jun 13, 2018
1 parent bf7156d commit 1073eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static_pool.go
Expand Up @@ -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
Expand Down

0 comments on commit 1073eae

Please sign in to comment.