diff options
author | Jason T. Greene <jason.greene@redhat.com> | 2022-09-06 12:23:43 -0500 |
---|---|---|
committer | Jason T. Greene <jason.greene@redhat.com> | 2022-09-06 12:24:38 -0500 |
commit | e0d5b4e3fbeb5a5fdd353f55e0a3f39cf3901811 (patch) | |
tree | f0cdd9fb348687f73102a87b0c0d929daa2eca20 | |
parent | 6da1eaf287c13a67dde688663b4dc8ed0cd868ad (diff) | |
download | podman-e0d5b4e3fbeb5a5fdd353f55e0a3f39cf3901811.tar.gz podman-e0d5b4e3fbeb5a5fdd353f55e0a3f39cf3901811.tar.bz2 podman-e0d5b4e3fbeb5a5fdd353f55e0a3f39cf3901811.zip |
Change pipe wait to 20 seconds
[NO NEW TESTS NEEDED]
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
-rw-r--r-- | pkg/machine/wsl/machine.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go index 81f1d187f..8b6d74817 100644 --- a/pkg/machine/wsl/machine.go +++ b/pkg/machine/wsl/machine.go @@ -1061,7 +1061,7 @@ func launchWinProxy(v *MachineVM) (bool, string, error) { return globalName, "", err } - return globalName, pipePrefix + waitPipe, waitPipeExists(waitPipe, 30, func() error { + return globalName, pipePrefix + waitPipe, waitPipeExists(waitPipe, 80, func() error { active, exitCode := machine.GetProcessState(cmd.Process.Pid) if !active { return fmt.Errorf("win-sshproxy.exe failed to start, exit code: %d (see windows event logs)", exitCode) @@ -1099,7 +1099,7 @@ func waitPipeExists(pipeName string, retries int, checkFailure func() error) err if fail := checkFailure(); fail != nil { return fail } - time.Sleep(100 * time.Millisecond) + time.Sleep(250 * time.Millisecond) } return err |