Method: ActiveJob::QueueAdapters::SuckerPunchAdapter#check_adapter

Defined in:
activejob/lib/active_job/queue_adapters/sucker_punch_adapter.rb

#check_adapterObject



21
22
23
24
25
26
# File 'activejob/lib/active_job/queue_adapters/sucker_punch_adapter.rb', line 21

def check_adapter
  ActiveJob.deprecator.warn <<~MSG.squish
    The `sucker_punch` adapter is deprecated and will be removed in Rails 8.1.
    Please use the `async` adapter instead.
  MSG
end