diff options
-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 |