Skip to content

Commit

Permalink
Update README to remove mutex language
Browse files Browse the repository at this point in the history
This change removes references to their being a `mutex` protecting the
underlying Redis connection from concurrent access. This was removed in
`5.x`[1].

[1]: redis#1070
  • Loading branch information
awiddersheim committed Dec 16, 2023
1 parent 935f64f commit 3a67309
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ available on [RubyDoc.info][rubydoc].
## Connection Pooling and Thread safety

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.
has one and only one connection to the server.

As such it is heavilly recommended to use the [`connection_pool` gem](https://github.com/mperham/connection_pool), e.g.:
As such it is heavily recommended to use the [`connection_pool` gem](https://github.com/mperham/connection_pool), e.g.:

```ruby
module MyApp
Expand Down

0 comments on commit 3a67309

Please sign in to comment.