diff options
author | Valery Piashchynski <[email protected]> | 2020-10-20 16:46:48 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-10-20 16:46:48 +0300 |
commit | 8a384c16e8748da47c5c78e661893dc1364adf5e (patch) | |
tree | b565772300a1039c6bfb77621ca88656a17a8a08 /static_pool.go | |
parent | 3d03711a143ca98aeb87d8b045b8406a4210d7bd (diff) |
Remove all graceful interface impl
Diffstat (limited to 'static_pool.go')
-rw-r--r-- | static_pool.go | 3 |
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() |