Browse files

Remove overly-broad retry in ActiveStorage::PurgeJob

We've never intentionally tripped this retry in production. Add retries for specific errors as needed.
  • Loading branch information...
georgeclaghorn committed Jul 12, 2018
1 parent f16fdef commit a1735a0dde6f6efa4cda6347da71a056740da1d3
Showing with 0 additions and 3 deletions.
  1. +0 −3 activestorage/app/jobs/active_storage/purge_job.rb
@@ -2,9 +2,6 @@
# Provides asynchronous purging of ActiveStorage::Blob records via ActiveStorage::Blob#purge_later.
class ActiveStorage::PurgeJob < ActiveStorage::BaseJob
# FIXME: Limit this to a custom ActiveStorage error
retry_on StandardError
def perform(blob)

0 comments on commit a1735a0

Please sign in to comment.