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

Redis deprected message #42

Closed
cfgv opened this issue Dec 6, 2022 · 1 comment
Closed

Redis deprected message #42

cfgv opened this issue Dec 6, 2022 · 1 comment

Comments

@cfgv
Copy link

cfgv commented Dec 6, 2022

I got the following message, also I see you do it the fix, but no release it or for some reason this did not stay in last version

`Redis.current` is deprecated and will be removed in 5.0. (called from: /xxxxx/xxxx/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/graph_attack-2.1.0/lib/graph_attack/rate_limit.rb:53:in `redis_client')
Pipelining commands on a Redis instance is deprecated and will be removed in Redis 5.0.0.

redis.multi do
  redis.get("key")
end

should be replaced by

redis.multi do |pipeline|
  pipeline.get("key")
end

Also, I see something fails in CI

Screen Shot 2022-12-06 at 4 51 18 PM

@oehlschl oehlschl mentioned this issue Jan 3, 2023
@andreasknoepfle
Copy link
Collaborator

https://rubygems.org/gems/ratelimit/versions/1.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants