summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-14 15:23:22 +0300
committerValery Piashchynski <[email protected]>2020-10-14 15:23:22 +0300
commita407be25f068a5c0a20a4cf96ddfaf4ccd3af739 (patch)
tree143e1ca6729d28b1d50e151a8d8050ac67e6f5ec /pool.go
parentb5f429667131ef91498d67d08242b9f46cc23d6d (diff)
Fixed: race conditions in tests, Handle_Dead test activated
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pool.go b/pool.go
index 540abb4c..67d092c0 100644
--- a/pool.go
+++ b/pool.go
@@ -50,7 +50,7 @@ type Pool interface {
Exec(ctx context.Context, rqs Payload) (Payload, error)
// Workers returns worker list associated with the pool.
- Workers(ctx context.Context) (workers []WorkerBase)
+ Workers() (workers []WorkerBase)
RemoveWorker(ctx context.Context, worker WorkerBase) error