Sha256: 87d2d6dbd24718948c7ea21dfd018d35c512634890a091ba938c0ca37b86d979
Contents?: true
Size: 400 Bytes
Versions: 34
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true class ActiveStorage::TransformJob < ActiveStorage::BaseJob queue_as { ActiveStorage.queues[:transform] } discard_on ActiveRecord::RecordNotFound, ActiveStorage::UnrepresentableError retry_on ActiveStorage::IntegrityError, attempts: 10, wait: :polynomially_longer def perform(blob, transformations) blob.representation(transformations).processed end end
Version data entries
34 entries across 34 versions & 5 rubygems