-
Notifications
You must be signed in to change notification settings - Fork 3
Queue per action #2
Comments
You can set the queue name on your worker by using the Qe::Worker.queue method. class MailWorker Nando Vieira On 19/04/2013, at 23:12, Joel Van Horn notifications@github.com wrote:
|
Hi @fnando, that allows you to specify a queue at the class level, which is used for all actions? If I want to put all my worker methods in one class, it would be nice to specify a different queue name inside the action method, which would be at the instance level. Maybe having that ability goes against how the worker classes are meant to be designed. |
Oh, I see what you mean. For now, your best option is creating a new worker. But I understand that'd be nice to set the queue name per action. I'll look into that when I have the time. Nando Vieira On 21/04/2013, at 15:57, Joel Van Horn notifications@github.com wrote:
|
I'm new to qe, but am wondering if it's possible to specify a queue per action so that not all actions run against the same queue?
The text was updated successfully, but these errors were encountered: