Sidekiq: Can I add a job to any queue through sidekiq-api ?

Created on 5 Sep 2016  路  2Comments  路  Source: mperham/sidekiq

Most helpful comment

Yes. use Sidekiq::Client.push

All 2 comments

Yes. use Sidekiq::Client.push

You can also use the relatively new set API:

HardWorker.set(queue: 'foo').perform_async(1,2,3)

set is designed to ape the same ActiveJob API.

Was this page helpful?
0 / 5 - 0 ratings