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 redis exists deprecation warning #335

Merged
merged 1 commit into from
May 17, 2021

Commits on May 13, 2021

  1. fix redis deprecation warning

    `Redis#exists(key)` will return an Integer in redis-rb 4.3. `exists?` returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer =  true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set `Redis.exists_returns_integer = false`, but this option will be removed in 5.0.
    Wolfer committed May 13, 2021
    Configuration menu
    Copy the full SHA
    8421e5c View commit details
    Browse the repository at this point in the history