Sha256: d7dba7ce8ee042ea96c52c41e98bae865029c28bae8f9e05e2608dd264ef4384
Contents?: true
Size: 443 Bytes
Versions: 11
Compression:
Stored size: 443 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 fail SidekiqUniqueJobs::Conflict, item end end end end
Version data entries
11 entries across 11 versions & 1 rubygems