Skip to content

Commit

Permalink
Fix another pipeline block warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Feb 4, 2022
1 parent 72f0ddd commit bb2f10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/paginator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def page(key, pageidx = 1, page_size = 25, opts = nil)
[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
Expand Down

0 comments on commit bb2f10f

Please sign in to comment.