summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--factory.go2
-rw-r--r--static_pool.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/factory.go b/factory.go
index 7d20016c..3c304824 100644
--- a/factory.go
+++ b/factory.go
@@ -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