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

Pipelining commands on a Redis instance is deprecated #624

Open
garethrees opened this issue Apr 3, 2023 · 0 comments
Open

Pipelining commands on a Redis instance is deprecated #624

garethrees opened this issue Apr 3, 2023 · 0 comments

Comments

@garethrees
Copy link
Member

garethrees commented Apr 3, 2023

From logs:

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 /data/vhost/hackney-foi.mysociety.org/shared/vendor/bundle/ruby/2.7.0/gems/redis-namespace-1.8.2/lib/redis/namespace.rb:530:in `namespaced_block'}
2023-04-03T01:58:00.443Z pid=1016158 tid=kejm INFO: queueing QueueSubmissionsWorker (QueueSubmissionsWorker)
2023-04-03T01:58:00.444Z pid=1016158 tid=ktvq class=QueueSubmissionsWorker jid=d4479717f9fd88704e76ddea INFO: start
2023-04-03T01:58:00.454Z pid=1016158 tid=ktvq class=QueueSubmissionsWorker jid=d4479717f9fd88704e76ddea elapsed=0.009 INFO: done
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

1 participant