Skip to content

Commit

Permalink
AutopublishJob retry
Browse files Browse the repository at this point in the history
  • Loading branch information
elektronaut committed Jan 16, 2024
1 parent 1b94ee3 commit 93bdf63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/jobs/pages_core/autopublish_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module PagesCore
class AutopublishJob < ApplicationJob
queue_as :pages_core

retry_on StandardError, attempts: 10, wait: :polynomially_longer

def perform
Autopublisher.run!
end
Expand Down

0 comments on commit 93bdf63

Please sign in to comment.