summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-03-31 18:28:41 +0300
committerWolfy-J <[email protected]>2018-03-31 18:28:41 +0300
commit73240266eb12fbc763d9780ba66ffa8bc0f2c38b (patch)
treeac0c954e944b6f923409530cb0dc2288cd4057d5 /pool.go
parent28dbf39fb02a44be291befd9ff49cdaf8847a0d3 (diff)
worker destruction made public
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pool.go b/pool.go
index 22e8c970..f491dfa5 100644
--- a/pool.go
+++ b/pool.go
@@ -19,9 +19,6 @@ type Pool interface {
// Workers returns worker list associated with the pool.
Workers() (workers []*Worker)
- // Replace replaces dead or expired worker with new instance.
- Replace(w *Worker, caused interface{})
-
// Destroy all underlying workers (but let them to complete the task).
Destroy()
}