summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 16:27:52 +0300
committerWolfy-J <[email protected]>2018-06-06 16:27:52 +0300
commit8a22b1bdda462075bfc56f17110eb3c0dc1f3f79 (patch)
tree06d018f00d168e9d69d176dfe456d6002dbd4fa1
parentd12bb5dbf7c60d44daabba238a2b1283050fde70 (diff)
fixing tests
-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