From bb2f10f971a448fbea783653a5144b74b5abc834 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Fri, 4 Feb 2022 12:06:16 -0800 Subject: [PATCH] Fix another pipeline block warning --- lib/sidekiq/paginator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/paginator.rb b/lib/sidekiq/paginator.rb index e9417420..59d8c822 100644 --- a/lib/sidekiq/paginator.rb +++ b/lib/sidekiq/paginator.rb @@ -27,7 +27,7 @@ module Sidekiq [current_page, total_size, items] when "list" total_size, items = conn.multi { |transaction| - conn.llen(key) + transaction.llen(key) if rev transaction.lrange(key, -ending - 1, -starting - 1) else