Specifying queue (and/or other options) per-job?

9 views
Skip to first unread message

John Bachir

unread,
Oct 16, 2015, 4:48:48 PM10/16/15
to Sidekiq
Is it possible to specify a queue per job invocation? So, a worker would have a default queue, but if another queue were specified when perform_async is invoked, it will use that queue instead?

Thanks,
John

Mike Perham

unread,
Oct 16, 2015, 7:02:42 PM10/16/15
to sid...@googlegroups.com
Yep.  The `Sidekiq::Client.push` API allows you to dynamically specify any job property.


--
You received this message because you are subscribed to the Google Groups "Sidekiq" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sidekiq+u...@googlegroups.com.
To post to this group, send email to sid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sidekiq/94058ab4-69ec-4538-b303-7727934583de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Mike Perham – CEO, Contributed Systems
Smart, effective open source infrastructure for your apps.
Reply all
Reply to author
Forward
0 new messages