Sha256: dca5747440993cd6c879a0894d664e82a43a8d2a2f963d4816d078d11bd48234
Contents?: true
Size: 371 Bytes
Versions: 8
Compression:
Stored size: 371 Bytes
Contents
# frozen_string_literal: true # Provides asynchronous analysis of ActiveStorage::Blob records via ActiveStorage::Blob#analyze_later. class ActiveStorage::AnalyzeJob < ActiveStorage::BaseJob queue_as { ActiveStorage.queues[:analysis] } retry_on ActiveStorage::IntegrityError, attempts: 10, wait: :exponentially_longer def perform(blob) blob.analyze end end
Version data entries
8 entries across 8 versions & 2 rubygems