Sha256: bb648836efc8a6f2f495e34349f238090a37d0b22b9755e6305a70afc77ebee9
Contents?: true
Size: 444 Bytes
Versions: 37
Compression:
Stored size: 444 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs module OnConflict # Strategy to raise an error on conflict # # @author Mikael Henriksson <mikael@zoolutions.se> class Raise < OnConflict::Strategy # Raise an error on conflict. # This will cause Sidekiq to retry the job # @raise [SidekiqUniqueJobs::Conflict] def call raise SidekiqUniqueJobs::Conflict, item end end end end
Version data entries
37 entries across 37 versions & 1 rubygems