summaryrefslogtreecommitdiff
path: root/static_pool.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-20 16:46:48 +0300
committerValery Piashchynski <[email protected]>2020-10-20 16:46:48 +0300
commit8a384c16e8748da47c5c78e661893dc1364adf5e (patch)
treeb565772300a1039c6bfb77621ca88656a17a8a08 /static_pool.go
parent3d03711a143ca98aeb87d8b045b8406a4210d7bd (diff)
Remove all graceful interface impl
Diffstat (limited to 'static_pool.go')
-rw-r--r--static_pool.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/static_pool.go b/static_pool.go
index bc990da5..0c2352ad 100644
--- a/static_pool.go
+++ b/static_pool.go
@@ -39,8 +39,7 @@ type PoolEvent struct {
}
// NewPool creates new worker pool and task multiplexer. StaticPool will initiate with one worker.
-// supervisor Supervisor, todo: think about it
-// stack func() (WorkerBase, error),
+// TODO why cfg is passed by pointer?
func NewPool(ctx context.Context, cmd func() *exec.Cmd, factory Factory, cfg *Config) (Pool, error) {
cfg.InitDefaults()