summaryrefslogtreecommitdiff
path: root/pkg/transport
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-13 16:42:36 +0300
committerValery Piashchynski <[email protected]>2021-06-13 16:42:36 +0300
commit9fd01b07ecae6e68dd0ed8be6be5f8c0228771cb (patch)
treeb170b08ec0460b1dd815875236bf1890af9f7939 /pkg/transport
parent54c3553cc39df4eae92d1f2c8c428e625f32f41a (diff)
- Optimize sync_worker payload exec
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/transport')
-rwxr-xr-xpkg/transport/socket/socket_factory.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/transport/socket/socket_factory.go b/pkg/transport/socket/socket_factory.go
index ee63c9c3..965a0f30 100755
--- a/pkg/transport/socket/socket_factory.go
+++ b/pkg/transport/socket/socket_factory.go
@@ -81,7 +81,7 @@ type socketSpawn struct {
err error
}
-// SpawnWorker creates Process and connects it to appropriate relay or returns error
+// SpawnWorkerWithTimeout creates Process and connects it to appropriate relay or return an error
func (f *Factory) SpawnWorkerWithTimeout(ctx context.Context, cmd *exec.Cmd, listeners ...events.Listener) (*worker.Process, error) {
const op = errors.Op("factory_spawn_worker_with_timeout")
c := make(chan socketSpawn)