Sha256: 6a73ae665c6447b5946bdcb0dcb0b05781f224173858206c99fbcbd433ce2a80
Contents?: true
Size: 333 Bytes
Versions: 7
Compression:
Stored size: 333 Bytes
Contents
module SidekiqUniqueJobs module Lock class UntilTimeout < UntilExecuted def unlock(scope) return true if scope.to_sym == :server raise ArgumentError, "#{scope} middleware can't #{__method__} #{unique_key}" end def execute(_callback) yield if block_given? end end end end
Version data entries
7 entries across 7 versions & 1 rubygems