Closed budu closed 11 years ago
Ah, unfortunately I'm not too sure about how this works with Redis 3. Right now I'm using Resque 1.20.0 which I believe is not compatible (gem-wise) with Redis 3. Are you using a different version of Resque?
@ryansch may have some ideas...
The version of Resque is even older (1.15), I'll probably just downgrade for now, I don't even understand why bundler did that!
@budu Did upgrading to a more recent redis fix your issue?
I'm using Resque 1.22, redid 3.01 and had no problems. After adding rescue-status, all ok. Then I added resque-ui and get the above error. If I run the rake task (queue job) without the rescue-ui gem in gem file, works fine. With the rescue-ui gem, bad-news. Does anyone have an idea why? I'd like to keep using the ui.......
@rsiegel I'm not familiar with that gem and it's not on rubygems.
We found the problem, and it is also mentioned in other places. The essence is that when Resque spawns/forks a process, the connection that existed is still open. However it's not reliable to use one connection for different processes so in the latest versions of Resque there is a test to check if this is the case. That's the error message. The solution is to refresh the connection (which creates a new one) after spawning/forking. This can be done with an after fork callback.
I'm familiar with that problem. I'm glad you got it figured out!
Closing since we haven't heard from @budu in 5 months.
Since upgrading to Redis 3, all ts_delta jobs fails with the following error: