diff options
Diffstat (limited to 'lib/active_job/queue_adapters')
-rw-r--r-- | lib/active_job/queue_adapters/sidekiq_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/queue_adapters/sidekiq_adapter.rb b/lib/active_job/queue_adapters/sidekiq_adapter.rb index 957905f9d3..e712762785 100644 --- a/lib/active_job/queue_adapters/sidekiq_adapter.rb +++ b/lib/active_job/queue_adapters/sidekiq_adapter.rb @@ -5,7 +5,7 @@ module ActiveJob class SidekiqAdapter class << self def queue(job, *args) - JobWrapper.perform_async(job, *args) + JobWrapper.client_push('class' => JobWrapper, 'queue' => job.queue_name, 'args' => [job, *args]) end end |