mysociety / foi-for-councils

https://www.mysociety.org/transparency/foi-works/
Other
1 stars 0 forks source link

Pipelining commands on a Redis instance is deprecated #624

Open garethrees opened 1 year ago

garethrees commented 1 year ago

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