Enqueue sidekiq jobs dynamically

Posted . Visible to the public.
Sidekiq::Client.push('class' => 'WorkerClass', 'args' => [11, 5, 1993])

is equivalent to

WorkerClass.perform_async(11, 5, 1993)
Last edit
Andreas Robecke
License
Source code in this card is licensed under the MIT License.
Posted to makandra dev (2014-11-28 16:30)