learningtapestry/lcms-engine

View on GitHub
app/jobs/concerns/lcms/engine/retry_simple.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

require 'activejob/retry'

module Lcms
  module Engine
    module RetrySimple
      extend ActiveSupport::Concern

      included do
        include ActiveJob::Retry.new(strategy: :constant, limit: 3)
      end
    end
  end
end