Sha256: c2c4605282afd9fb668ea5ca80949b8b732e5b8f83fe89f4e16cb58533d5c89c

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

module SidekiqUniqueJobs
  module Lock
    class UntilTimeout < UntilExecuted
      def unlock(scope)
        return true if scope.to_sym == :server
        fail ArgumentError, "#{scope} middleware can't #{__method__} #{unique_key}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-4.0.0 lib/sidekiq_unique_jobs/lock/until_timeout.rb