[Backgroundrb-devel] Breaking up complex jobs

hemant kumar gethemant at gmail.com
Mon Sep 15 07:36:00 EDT 2008


MiddleMan object is certainly available in workers.Also, persistent_job
is only available in worker, when task has been enqueued through enq_xxx
method.

Can you show the code, where you are trying to invoke the worker method
using enq_xx??


On Mon, 2008-09-15 at 10:40 +0100, Rue Turner wrote:
> > I think, its here:
> >
> > http://backgroundrb.rubyforge.org/workers/
> 
> Thanks Hermant. I did try those bits first but it seems MiddleMan isn't 
> available from inside a worker.  I also tried various way to enq_<worker> and 
> enqueue_ <worker> but still no luck.
> 
> Also, persistent_job seems to return a nil object when calling 'finish!'.
> 
> source:
> http://pastie.org/272591
> log output:
> http://pastie.org/272595
> 
> any help is really appreciated.
> 
> Rue



More information about the Backgroundrb-devel mailing list