Sha256: 7c00c2ecab51e44f988ca3d6f03105d44ac035a003fed44b88f2a83ed479dee8
Contents?: true
Size: 335 Bytes
Versions: 3
Compression:
Stored size: 335 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs class Lock class UntilExpired < BaseLock def unlock true end def execute return unless locked? yield if block_given? # this lock does not handle after_unlock since we don't know when that would end end end end
Version data entries
3 entries across 3 versions & 1 rubygems