-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Seeing this warning: Redis#sadd will always return an Integer in Redis 5.0.0. Use Redis#sadd? instead #5493
Comments
Please look at closed issues before opening issues for deprecations in
other gems.
…On Thu, Aug 25, 2022 at 10:14 AM Kapil ***@***.***> wrote:
Ruby version: 3.1.2
Rails version: 7.0.3.1
Sidekiq / Pro / Enterprise version(s): Sidekiq v6.5.5 / Sidekiq Pro v5.5.2
Redis#sadd will always return an Integer in Redis 5.0.0. Use Redis#sadd? instead.(called from: /app/vendor/bundle/ruby/3.1.0/gems/sidekiq-6.5.5/lib/sidekiq/client.rb:234:in `atomic_push')
—
Reply to this email directly, view it on GitHub
<#5493>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAWX77ZGUUVONVAIPIPQDV26SZHANCNFSM57T4WC7A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
xref #5484 |
I also only found #5484 through this one and am assuming people who google this error are sent here. I arrived here because I'm trying to develop locally and use pry in a sidekiq job to debug/develop something and this error was making it impossible to actually work. I've not been able to upgrade sidekiq because of dependency issues so I'll share a temporary fix that works for me locally so that I can develop without all the noise from this warning that might help others. I just went into the redis gem locally and could see 2 of these:
which I commented out. I can't see this being a problem or affecting any behaviour and it's meant that I can use pry in my sidekiq without everything I write disappearing every 5 seconds when this warning gets logged :D |
For me, I have to downgrade to |
Ruby version: 3.1.2
Rails version: 7.0.3.1
Sidekiq / Pro / Enterprise version(s): Sidekiq v6.5.5 / Sidekiq Pro v5.5.2
The text was updated successfully, but these errors were encountered: