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

Deprecate Redis#queue, Redis#commit and Redis#pipelined without block. #1059

Merged
merged 1 commit into from
Jan 20, 2022

Commits on Jan 20, 2022

  1. Deprecate Redis#queue, Redis#commit and Redis#pipelined without…

    … block.
    
    All theses make a lot of assumptions on the threading model and are barely
    thread safe.
    
    The new favored API is:
    
    ```ruby
    redis.pipelined do |pipeline|
      pipeline.get("foo")
      pipeline.del("bar")
    end
    ```
    
    This API allow multiple threads to build pipelines concurrently on the same
    connection, and is more friendly to Fiber based concurrency.
    
    Fix: redis#1057
    byroot committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    0f86bac View commit details
    Browse the repository at this point in the history