aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/pending.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-06-17 16:23:29 -0400
committerRuss Cox <rsc@golang.org>2015-06-17 21:59:21 +0000
commit719edc39c86306800b6002204d8e09014b0e2c48 (patch)
tree31a67a55171e90f045a7e7f3ddba955604489abc /git-codereview/pending.go
parentfb15fb95a06eea1440b2f28b5dadcec5bbb6e8fa (diff)
downloadgo-x-review-719edc39c86306800b6002204d8e09014b0e2c48.tar.xz
git-codereview: wait longer for Gerrit
5 seconds turns out to be far too optimistic. I am seeing 15 seconds regularly today. Change-Id: Ia258d340f04e294a2bf40d0119170e8083b9fb6b Reviewed-on: https://go-review.googlesource.com/11192 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'git-codereview/pending.go')
-rw-r--r--git-codereview/pending.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/pending.go b/git-codereview/pending.go
index 94b395c..e00071e 100644
--- a/git-codereview/pending.go
+++ b/git-codereview/pending.go
@@ -65,7 +65,7 @@ func cmdPending(args []string) {
// Fetch info about remote changes, so that we can say which branches need sync.
if !pendingLocal {
run("git", "fetch", "-q")
- http.DefaultClient.Timeout = 5 * time.Second
+ http.DefaultClient.Timeout = 60 * time.Second
}
// Build list of pendingBranch structs to be filled in.