Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/jobs/shipit/background_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ class << self

DEFAULT_RETRY_TIME_IN_SECONDS = 30

# If the record was deleted before the job ran, there's nothing to do
discard_on(ActiveRecord::RecordNotFound)

# Write actions can sometimes fail intermittently, particulary for large and/or busy repositories
retry_on(Octokit::ServerError)

Expand Down