diff --git a/lib/delayed/job_wrapper.rb b/lib/delayed/job_wrapper.rb index 4cb2b5e..9beec95 100644 --- a/lib/delayed/job_wrapper.rb +++ b/lib/delayed/job_wrapper.rb @@ -21,9 +21,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)