Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compatibility with redis-rb 4.6.0 #192

Merged
merged 1 commit into from
Mar 7, 2022

Commits on Mar 7, 2022

  1. 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
    byroot committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    7f76249 View commit details
    Browse the repository at this point in the history