summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-20 12:09:39 +0300
committerValery Piashchynski <[email protected]>2021-04-20 12:09:39 +0300
commit2faf7bc2cd883294306466282f313bc5a1dc79ef (patch)
treea1e94592452e7840a5ce7c615766330e0a23fdb7 /pkg
parenta3ced86a77b406bd8d127135636d33e12517d7f8 (diff)
- Make http.Serve() async
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg')
-rwxr-xr-xpkg/transport/pipe/pipe_factory.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/transport/pipe/pipe_factory.go b/pkg/transport/pipe/pipe_factory.go
index b12ff36a..0709413f 100755
--- a/pkg/transport/pipe/pipe_factory.go
+++ b/pkg/transport/pipe/pipe_factory.go
@@ -27,7 +27,7 @@ type SpawnResult struct {
err error
}
-// SpawnWorker creates new Process and connects it to goridge relay,
+// SpawnWorkerWithTimeout creates new Process and connects it to goridge relay,
// method Wait() must be handled on level above.
func (f *Factory) SpawnWorkerWithTimeout(ctx context.Context, cmd *exec.Cmd, listeners ...events.Listener) (*worker.Process, error) {
c := make(chan SpawnResult)