resque-scheduler icon indicating copy to clipboard operation
resque-scheduler copied to clipboard

Note about Resque.redis config

Open danlo opened this issue 9 years ago • 4 comments

In regards to #468. I missed that resque-scheduler was completely stand-alone and wouldn't catch on to that I use a different redis database other than the default 0 for resque jobs.

I've added this warning in the hopes that other people who also use a different redis database like will avoid this problem.

danlo avatar Mar 05 '15 19:03 danlo

Does it run standalone even if a dependency to "environment" is specified? In that case it should pick up Redis config from an initializer, right?

The weirdest thing for me is that schedules actually work, but delayed jobs don't. I think.

juanibiapina avatar May 30 '16 19:05 juanibiapina

@juanibiapina Sorry for delay! I don't think your question can be answered without knowing the specifics of how your code is loaded. The flexibility of this part of the configuration is a constant source of question bugs, unfortunately 🙍

meatballhat avatar Jun 26 '16 16:06 meatballhat

My problem was another issue. Scheduler wasn't able to elect a master node properly. I cleaned up redis and it worked.

juanibiapina avatar Jun 27 '16 13:06 juanibiapina

@danlo Is this still relevant? It seems like simply stating that configuration comes from Resque.redis would be sufficient.

carsonreinke avatar Feb 03 '18 13:02 carsonreinke