Skip to content

Commit 3453fe6

Browse files
committed
Remove timeout options from first example.
1 parent cf15c32 commit 3453fe6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To install **redis-rb**, run the following command:
2929
gem install redis
3030
```
3131

32-
Or if you are using **bundler**, add
32+
Or if you are using **bundler**, add
3333

3434
```
3535
gem 'redis', '~>3.2'
@@ -54,8 +54,7 @@ listening on `localhost`, port 6379. If you need to connect to a remote
5454
server or a different port, try:
5555

5656
```ruby
57-
redis = Redis.new(:host => "10.0.1.1", :port => 6380, :db => 15,
58-
:read_timeout => 1, :connect_timeout => 1)
57+
redis = Redis.new(:host => "10.0.1.1", :port => 6380, :db => 15)
5958
```
6059

6160
You can also specify connection options as a [`redis://` URL][redis-url]:

0 commit comments

Comments
 (0)