Skip to content

Commit

Permalink
Merge pull request #4 from enriquebris/development
Browse files Browse the repository at this point in the history
[pool-16] - LateKillAllWorkers() bug fixed - comments
  • Loading branch information
enriquebris authored Sep 19, 2018
2 parents 476fb3d + a90447b commit 59e6f2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,7 @@ func (st *Pool) LateKillWorkers(n int) error {
}

// LateKillAllWorkers kills all live workers only after all current jobs get processed.
// By "current jobs" it means: the number of enqueued jobs in the exact moment this function get executed.
// It returns an error in case there is a "in course" KillAllWorkers operation.
func (st *Pool) LateKillAllWorkers() error {
// return en error if there is an "in course" KillAllWorkers operation
Expand Down

0 comments on commit 59e6f2b

Please sign in to comment.