[Backgroundrb-devel] 0.2.0 worker/slave creation

James Hughes hughes.james at gmail.com
Wed Nov 15 23:01:41 EST 2006


On 11/15/06, Jason Sydes <jasonsydes at gmail.com> wrote:
> On 11/15/06, James Hughes <hughes.james at gmail.com> wrote:
>
> > I'm seeing "Starting WorkerLogger" in the log, but no ResultsLogger.
> > Subsequently, when I assign to the results hash in my worker it
> > disappears into neverland. Could this be the problem I'm experiencing?
> >
> You're not seeing "In ResultsWorker" in backgroundrb.log.  Are you using
> release-0.2.0, or are you working from the trunk?  What do you see when you
> do
> ps aux |grep backgroundrb
> ?

I'm on 0.2.0 but I was thinking of switching to trunk.

I am seeing the results worker in ps. Wierd that the logger would
announce it's presence and not the results worker.

>
>  Maybe you're assigning to the results hash incorrectly?  If you're doing
> something like the following, it won't work (see the README):
>   results[:other_key] = []
>   results[:other_key] << "add to key"
>
Yeh, it's when I assign to it that it disappears. I'll look into this
a bit more.

thanks,
James


More information about the Backgroundrb-devel mailing list