class SidekiqUniqueJobs::Orphans::LuaReaper


@author Mikael Henriksson <mikael@zoolutions.se>
@note this is a much slower version of the lua script but does not crash redis
Class DeleteOrphans provides deletion of orphaned digests

def call

Returns:
  • (Integer) - the number of reaped locks
def call
  call_script(
    :reap_orphans,
    conn,
    keys: [DIGESTS, SCHEDULE, RETRY, PROCESSES],
    argv: [reaper_count],
  )
end