Provides asynchronous mirroring of directly-uploaded blobs.
# File activestorage/app/jobs/active_storage/mirror_job.rb, line 12 def perform(key, checksum:) ActiveStorage::Blob.service.try(:mirror, key, checksum: checksum) end
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.