From: Bryan C. Mills Date: Tue, 1 Nov 2022 20:57:56 +0000 (-0400) Subject: cmd/go/internal/vcweb: increase script WaitDelay by 30x X-Git-Tag: go1.20rc1~468 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1ae93e4c201af78b000dccef0c2489bf7fb879ca;p=gostls13.git cmd/go/internal/vcweb: increase script WaitDelay by 30x This should reduce spurious VCS failures on slow builders, like the one observed in https://build.golang.org/log/e773fe404b2009d67fa34f048e023f0a86663a13 Updates #27494. Change-Id: Ibb094c8ddf79e0ab481c00fcf501dc955b0da787 Reviewed-on: https://go-review.googlesource.com/c/go/+/447116 Auto-Submit: Bryan Mills Reviewed-by: Ian Lance Taylor Run-TryBot: Bryan Mills TryBot-Result: Gopher Robot --- diff --git a/src/cmd/go/internal/vcweb/script.go b/src/cmd/go/internal/vcweb/script.go index 6e8f158913..f58a0ac392 100644 --- a/src/cmd/go/internal/vcweb/script.go +++ b/src/cmd/go/internal/vcweb/script.go @@ -33,7 +33,7 @@ func newScriptEngine() *script.Engine { conds := script.DefaultConds() interrupt := func(cmd *exec.Cmd) error { return cmd.Process.Signal(os.Interrupt) } - gracePeriod := 1 * time.Second // arbitrary + gracePeriod := 30 * time.Second // arbitrary cmds := script.DefaultCmds() cmds["at"] = scriptAt()