README.md in redis-5.0.0.beta4 vs README.md in redis-5.0.0
- old
+ new
@@ -75,11 +75,11 @@
The client does not provide connection pooling. Each `Redis` instance
has one and only one connection to the server, and use of this connection
is protected by a mutex.
-As such it is heavilly recommended to use the [`connection_pool` gem], e.g.:
+As such it is heavilly recommended to use the [`connection_pool` gem](https://github.com/mperham/connection_pool), e.g.:
```ruby
module MyApp
def self.redis
@redis ||= ConnectionPool.new do
@@ -89,12 +89,10 @@
end
MyApp.redis.incr("some-counter")
```
-[`connection_pool` gem](https://github.com/mperham/connection_pool)
-
## Sentinel support
The client is able to perform automatic failover by using [Redis
Sentinel](http://redis.io/topics/sentinel). Make sure to run Redis 2.8+
if you want to use this feature.
@@ -155,10 +153,10 @@
end
# => ["OK", 1]
```
Commands must be called on the yielded objects. If you call methods
-on the original client objects from inside a pipeline, they willb e sent immediately:
+on the original client objects from inside a pipeline, they will be sent immediately:
```ruby
redis.pipelined do |pipeline|
pipeline.set "foo", "bar"
redis.incr "baz" # => 1