MiniProfiler / rack-mini-profiler

Profiler for your development and production Ruby rack apps.
MIT License
3.69k stars 401 forks source link

Fix deprecated uses of `Redis#pipelined` #516

Closed casperisfine closed 2 years ago

casperisfine commented 2 years ago

Context: https://github.com/redis/redis-rb/pull/1059

The following is deprecated

redis.pipelined do
  redis.get(key)
end

And should be rewritten as:

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

Functionally it makes no difference.

OsamaSayegh commented 2 years ago

Thank you @casperisfine!