Skip to content

Commit 912c008

Browse files
authored
Merge pull request #1155 from dentarg/patch-1
Fix Ruby syntax in `reconnect_attempts` example in README
2 parents 07cccee + 371d8c1 commit 912c008

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ of durations:
273273
```ruby
274274
Redis.new(reconnect_attempts: [
275275
0, # retry immediately
276-
0.25 # retry a second time after 250ms
277-
1 # retry a third and final time after another 1s
276+
0.25, # retry a second time after 250ms
277+
1, # retry a third and final time after another 1s
278278
])
279279
```
280280

0 commit comments

Comments
 (0)