Permalink
Browse files

Dialer retries 10 times by default

Change-Id: I19369668f881e035238db0bcd9058398a8b25949
  • Loading branch information...
1 parent 12499ca commit 93bd4184d2119faa29eb87aaaad6c799a305fcfe @anfernee anfernee committed Sep 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 dial.go
View
@@ -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
}

0 comments on commit 93bd418

Please sign in to comment.