[Backgroundrb-devel] Breaking up complex jobs
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
Can you show the code, where you are trying to invoke the worker method
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!'.
> log output:
> any help is really appreciated.
More information about the Backgroundrb-devel