From 94b4184efb8e16d112de709812d01c0b0f40450d Mon Sep 17 00:00:00 2001 From: Liz Prucka Date: Tue, 18 Apr 2023 16:14:59 -0500 Subject: pkg/vcs: lengthen command timeout The Pixel repository from partner-android takes ~2 hours to initialize, so increased the git command timeout to 3 hours. --- pkg/vcs/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/vcs/git.go') diff --git a/pkg/vcs/git.go b/pkg/vcs/git.go index bd9738517..ebdfc2ac3 100644 --- a/pkg/vcs/git.go +++ b/pkg/vcs/git.go @@ -443,7 +443,7 @@ func (git *git) git(args ...string) ([]byte, error) { return nil, err } } - return osutil.Run(time.Hour, cmd) + return osutil.Run(3*time.Hour, cmd) } func splitEmail(email string) (user, domain string, err error) { -- cgit mrf-deployment