diff options
author | Wolfy-J <[email protected]> | 2018-06-06 16:27:52 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-06 16:27:52 +0300 |
commit | 8a22b1bdda462075bfc56f17110eb3c0dc1f3f79 (patch) | |
tree | 06d018f00d168e9d69d176dfe456d6002dbd4fa1 | |
parent | d12bb5dbf7c60d44daabba238a2b1283050fde70 (diff) |
fixing tests
-rw-r--r-- | factory.go | 2 | ||||
-rw-r--r-- | static_pool.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ package roadrunner import "os/exec" -// Pool is responsible of wrapping given command into tasks worker. +// Factory is responsible of wrapping given command into tasks worker. type Factory interface { // SpawnWorker creates new worker process based on given command. // Process must not be started. diff --git a/static_pool.go b/static_pool.go index 07c71c46..faa2b696 100644 --- a/static_pool.go +++ b/static_pool.go @@ -30,7 +30,7 @@ type StaticPool struct { // active task executions tasks sync.WaitGroup - // workers circular allocation errBuffer + // workers circular allocation buffer free chan *Worker // protects state of worker list, does not affect allocation |