Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dialer retries 10 times by default

Change-Id: I19369668f881e035238db0bcd9058398a8b25949
  • Loading branch information...
commit 93bd4184d2119faa29eb87aaaad6c799a305fcfe 1 parent 12499ca
@anfernee anfernee authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 dial.go
View
4 dial.go
@@ -83,8 +83,8 @@ func DefaultDialer(addr string) Dialer {
d.Addr = addr
- // Retry forever
- d.MaxAttempts = 0
+ // Retry 10 times
+ d.MaxAttempts = 10
return d
}
Please sign in to comment.
Something went wrong with that request. Please try again.