diff --git a/lib/delayed/job_wrapper.rb b/lib/delayed/job_wrapper.rb index 09030d5..b10115b 100644 --- a/lib/delayed/job_wrapper.rb +++ b/lib/delayed/job_wrapper.rb @@ -13,9 +13,7 @@ def display_name end def perform - ActiveJob::Callbacks.run_callbacks(:execute) do - job.perform_now - end + ActiveJob::Base.execute(job_data) end def encode_with(coder)