librelist archives

« back to archive

Resque-pool and Resque-web compatible?

Resque-pool and Resque-web compatible?

From:
David Yang
Date:
2011-02-21 @ 16:59
I'm using resque-pool (which is a great add-on BTW) and just realized that
I'm not seeing all the workers in resque-web.  I'm using resque-web 
through nginx/passenger and the only changes I've made to it are to load 
resque-scheduler (another great plugin).

The only worker that shows up is the last one to fork from resque-pool, my
guess is that the registration with Redis isn't happening at an 
appropriate time - anyone else seeing this?

david

Re: [resque] Resque-pool and Resque-web compatible?

From:
nicholas a. evans
Date:
2011-02-24 @ 15:43
On Mon, Feb 21, 2011 at 11:59 AM, David Yang <david.g.yang@gmail.com> wrote:
> I'm using resque-pool (which is a great add-on BTW)

Thanks!  :)

> and just realized that I'm not seeing all the workers in resque-web. 
 I'm using resque-web through nginx/passenger and the only changes I've 
made to it are to load resque-scheduler (another great plugin).
>
> The only worker that shows up is the last one to fork from resque-pool, 
my guess is that the registration with Redis isn't happening at an 
appropriate time - anyone else seeing this?

Just an FYI to anyone else who sees this post (via Google or their
email inbox): David was able to track down the bug.  It's a known
issue (although previously unknown to us!) with resque 1.12.0 and was
quickly fixed by 1.13.0 ("Bugfix: worker pruning" in resque's
History.md).  So if you hit this issue yourself, just go ahead and
upgrade to 1.13.0.

-- 
Nick