diff options
author | Wolfy-J <[email protected]> | 2018-06-12 20:45:24 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-12 20:45:24 +0300 |
commit | 99c1121d8fd31b7b61b6c22e181dc3c05a3f9f82 (patch) | |
tree | 25e6baf4eaf4e4ebd37c2431e485dfe3f4e3ac11 /worker.go | |
parent | f8d8e9a55d31c6ee98b1f292e49b31b474883a4f (diff) |
static pool logic update, better watching techniques
Diffstat (limited to 'worker.go')
-rw-r--r-- | worker.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -109,6 +109,7 @@ func (w *Worker) Wait() error { w.cmd.Wait() } + // todo: is it ok? if w.endState.Success() { w.state.set(StateStopped) return nil |