Sha256: e00da8fec462f69bf7f9118aa0cfb0c6417766f82978a980e7d841cbf70c70b8

Contents?: true

Size: 243 Bytes

Versions: 7

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

module PagesCore
  class AutopublishJob < ApplicationJob
    queue_as :pages_core

    retry_on StandardError, attempts: 10, wait: :polynomially_longer

    def perform
      Autopublisher.run!
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pages_core-3.15.5 app/jobs/pages_core/autopublish_job.rb
pages_core-3.15.4 app/jobs/pages_core/autopublish_job.rb
pages_core-3.15.3 app/jobs/pages_core/autopublish_job.rb
pages_core-3.15.2 app/jobs/pages_core/autopublish_job.rb
pages_core-3.15.1 app/jobs/pages_core/autopublish_job.rb
pages_core-3.14.0 app/jobs/pages_core/autopublish_job.rb
pages_core-3.13.0 app/jobs/pages_core/autopublish_job.rb