aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.go b/remote.go
index ca82a3d..4a06106 100644
--- a/remote.go
+++ b/remote.go
@@ -1085,7 +1085,7 @@ func (r *Remote) ListContext(ctx context.Context, o *ListOptions) (rfs []*plumbi
}
func (r *Remote) List(o *ListOptions) (rfs []*plumbing.Reference, err error) {
- ctx, cancel := context.WithTimeout(context.Background(), 600*time.Millisecond)
+ ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
return r.ListContext(ctx, o)
}