Sha256: 1ca17228d522d0b44623dae4187c0a5b24a9ee36107316f6257cbef5f8cab43e
Contents?: true
Size: 487 Bytes
Versions: 9
Compression:
Stored size: 487 Bytes
Contents
# typed: false # frozen_string_literal: true module Hephaestus class ApplicationJob < ActiveJob::Base # Automatically retry jobs that encountered a deadlock retry_on ActiveRecord::Deadlocked # Most jobs are safe to ignore if the underlying records are no longer available discard_on ActiveJob::DeserializationError class << self def queue_as(part_name = nil, &block) super("plug_#{plug_shortname}_#{part_name}", &block) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems