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 8deffa8 commit 5a2a984
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.zrange(EXPIRING_DIGESTS, 0, max_score, byscore: true)
conn.zrangebyscore(EXPIRING_DIGESTS, 0, max_score)
end

#
Expand Down

0 comments on commit 5a2a984

Please sign in to comment.