Sha256: ad71109fee8be36c68164a72464e7e252f2fcd130da30cb29988f9eaece5efbf
Contents?: true
Size: 649 Bytes
Versions: 4
Compression:
Stored size: 649 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs module Orphans # # Class DeleteOrphans provides deletion of orphaned digests # # @note this is a much slower version of the lua script but does not crash redis # # @author Mikael Henriksson <mikael@mhenrixon.com> # class LuaReaper < Reaper # # Delete orphaned digests # # # @return [Integer] the number of reaped locks # def call call_script( :reap_orphans, conn, keys: [DIGESTS, SCHEDULE, RETRY, PROCESSES], argv: [reaper_count], ) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems