From 7a8411ae7c2c4f4ba1b39c1523b4bc491fc8875b Mon Sep 17 00:00:00 2001 From: sawka Date: Tue, 10 Feb 2026 15:32:39 -0800 Subject: [PATCH] increase initial command timeout to 30s from 5s (slow WSL start) --- pkg/wslconn/wslconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/wslconn/wslconn.go b/pkg/wslconn/wslconn.go index 9cd5b60a0b..00eb584545 100644 --- a/pkg/wslconn/wslconn.go +++ b/pkg/wslconn/wslconn.go @@ -286,7 +286,7 @@ func (conn *WslConn) StartConnServer(ctx context.Context, afterUpdate bool) (boo return false, "", "", fmt.Errorf("unable to start conn controller cmd: %w", err) } linesChan := utilfn.StreamToLinesChan(pipeRead) - versionLine, err := utilfn.ReadLineWithTimeout(linesChan, 5*time.Second) + versionLine, err := utilfn.ReadLineWithTimeout(linesChan, 30*time.Second) if err != nil { cancelFn() return false, "", "", fmt.Errorf("error reading wsh version: %w", err)