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

Warning from Redis #186

Open
danielgomezrico opened this issue May 24, 2022 · 3 comments
Open

Warning from Redis #186

danielgomezrico opened this issue May 24, 2022 · 3 comments

Comments

@danielgomezrico
Copy link

Im getting this warning everytime a job is proccessed on sidekiq:

Pipelining commands on a Redis instance is deprecated and will be removed in Redis 5.0.0.

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

should be replaced by

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

(called from /Users/xxxxxxxx/.rvm/gems/ruby-2.6.8@xxxxxxx/gems/sidekiq-statistic-1.4.0/lib/sidekiq/statistic/middleware.rb:40:in `block in save_entry_for_worker'}
@t1ll
Copy link

t1ll commented Aug 24, 2022

Same here - i guess the issue still exists

@reservedmuffin
Copy link

reservedmuffin commented Aug 31, 2022

+1

Environment:

  • sidekiq 6.5.6
  • sidekiq-statistic 1.4.0
  • redis 4.8.0

Error

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

(called from /usr/local/bundle/gems/sidekiq-statistic-1.4.0/lib/sidekiq/statistic/middleware.rb:40:in `block in save_entry_for_worker'}"

@reservedmuffin
Copy link

reservedmuffin commented Aug 31, 2022

I can see that there are changes to fix that in the latest (2.0.0) release . But it's not available on the RubyGems. @davydovanton are there any plans to publish it there?

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

3 participants