Yeung William
2008-Dec-02 10:31 UTC
[Backgroundrb-devel] How to check the current enqueued task for a particular worker?
I tried to check the API and found the method MetaWorker#check_for_enqueued_tasks, but how is that suppose to be invoked? can that be done with the worker proxy?
hemant
2008-Dec-02 17:18 UTC
[Backgroundrb-devel] How to check the current enqueued task for a particular worker?
On Tue, Dec 2, 2008 at 4:01 PM, Yeung William <william.yeung at gearboxsoft.com> wrote:> I tried to check the API and found the method > MetaWorker#check_for_enqueued_tasks, but how is that suppose to be invoked? > can that be done with the worker proxy?No, usually thats an internal method, usually not exposed through the MiddleMan proxy.
Yeung William
2008-Dec-03 02:25 UTC
[Backgroundrb-devel] How to check the current enqueued task for a particular worker?
If thats the case how am I suppose to deal with it? I really need to find out the pending queue so I could allow my users to manage those pending tasks (like canceling them) On 3 Dec 2008, at 1:18 AM, hemant wrote:> On Tue, Dec 2, 2008 at 4:01 PM, Yeung William > <william.yeung at gearboxsoft.com> wrote: >> I tried to check the API and found the method >> MetaWorker#check_for_enqueued_tasks, but how is that suppose to be >> invoked? >> can that be done with the worker proxy? > > No, usually thats an internal method, usually not exposed through the > MiddleMan proxy.