aboutsummaryrefslogtreecommitdiffstats
path: root/app/jobs
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-07-24 14:17:01 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-07-24 14:17:01 -0500
commit547737b85b628191fadb35ef64730ccfb3b8eb8f (patch)
tree6f32dc0f24977d6877c940fdfde1e9e87f8935c2 /app/jobs
parentbb3458079e11c4a22271559413be4c9b901b4790 (diff)
downloadrails-547737b85b628191fadb35ef64730ccfb3b8eb8f.tar.gz
rails-547737b85b628191fadb35ef64730ccfb3b8eb8f.tar.bz2
rails-547737b85b628191fadb35ef64730ccfb3b8eb8f.zip
Basic documentation for job
Diffstat (limited to 'app/jobs')
-rw-r--r--app/jobs/active_storage/purge_job.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/jobs/active_storage/purge_job.rb b/app/jobs/active_storage/purge_job.rb
index 87eb19815d..815f908e6c 100644
--- a/app/jobs/active_storage/purge_job.rb
+++ b/app/jobs/active_storage/purge_job.rb
@@ -1,3 +1,4 @@
+# Provides delayed purging of attachments or blobs using their `#purge_later` method.
class ActiveStorage::PurgeJob < ActiveJob::Base
# FIXME: Limit this to a custom ActiveStorage error
retry_on StandardError