Class: CanvasSync::JobUniqueness::OnConflict::Log
- Defined in:
- lib/canvas_sync/job_uniqueness/on_conflict/log.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #replace?, valid_for
Constructor Details
This class inherits a constructor from CanvasSync::JobUniqueness::OnConflict::Base
Instance Method Details
#call ⇒ Object
6 7 8 9 10 |
# File 'lib/canvas_sync/job_uniqueness/on_conflict/log.rb', line 6 def call CanvasSync::JobUniqueness.logger.info(<<~MESSAGE.chomp) Skipping job with id (#{lock_context.job_id}) because key: (#{lock_context.base_key}) is locked MESSAGE end |