Skip to content

Commit 8a22b1b

Browse files
committed
fixing tests
1 parent d12bb5d commit 8a22b1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: factory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package roadrunner
22

33
import "os/exec"
44

5-
// Pool is responsible of wrapping given command into tasks worker.
5+
// Factory is responsible of wrapping given command into tasks worker.
66
type Factory interface {
77
// SpawnWorker creates new worker process based on given command.
88
// Process must not be started.

Diff for: static_pool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type StaticPool struct {
3030
// active task executions
3131
tasks sync.WaitGroup
3232

33-
// workers circular allocation errBuffer
33+
// workers circular allocation buffer
3434
free chan *Worker
3535

3636
// protects state of worker list, does not affect allocation

0 commit comments

Comments
 (0)