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>
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 @@
// 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.