Sha256: 7357c645e491675ff8e399602485ed1d9af38eb55eaad4eb729dec9667a1b359
Contents?: true
Size: 591 Bytes
Versions: 16
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs module OnConflict # Strategy to log information about conflict # # @author Mikael Henriksson <mikael@zoolutions.se> class Log < OnConflict::Strategy include SidekiqUniqueJobs::Logging # # Logs an informational message about that the job was not unique # # # @return [void] # def call log_info(<<~MESSAGE.chomp) Skipping job with id (#{item[JID]}) because lock_digest: (#{item[LOCK_DIGEST]}) already exists MESSAGE end end end end
Version data entries
16 entries across 16 versions & 1 rubygems