diff options
| author | Liz Prucka <lizprucka@google.com> | 2023-04-18 16:14:59 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2023-04-19 07:35:49 +0200 |
| commit | 94b4184efb8e16d112de709812d01c0b0f40450d (patch) | |
| tree | c75a62358313e9795b8bae1045302f970165d693 /pkg/vcs/git.go | |
| parent | d931e9f0c7a338e73ee7b5a36cf5b59b10802f09 (diff) | |
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.
Diffstat (limited to 'pkg/vcs/git.go')
| -rw-r--r-- | pkg/vcs/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
