Skip to content

Commit

Permalink
fix: expired digests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnesthesia committed Nov 1, 2023
1 parent 5a2a984 commit 5ada811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq_unique_jobs/orphans/ruby_reaper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def call
def expired_digests
max_score = (start_time - reaper_timeout).to_f

conn.zrangebyscore(EXPIRING_DIGESTS, 0, max_score)
conn.zrange(EXPIRING_DIGESTS, 0, max_score, 'byscore')
end

#
Expand Down

0 comments on commit 5ada811

Please sign in to comment.