forked from resque/redis-namespace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compatibility with redis-rb 4.6.0
Fix: resque#191 Fix: redis/redis-rb#1088 In redis-rb 4.6.0, the object yielded by `multi` and `pipelined` is an unsynchronized `PipelinedConnection` object. This changed opened a thread safety issue in Redis::Namespace: - T1: `redis.multi do`, sets `Namespace#redis = PipelinedConnection` - T2: any command called before T1 exists the `multi` block is called on the pipelined connection
- Loading branch information
Showing
3 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters