Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: resque-scheduler support? #189

Open
josh-m-sharpe opened this issue Apr 6, 2020 · 2 comments
Open

Suggestion: resque-scheduler support? #189

josh-m-sharpe opened this issue Apr 6, 2020 · 2 comments

Comments

@josh-m-sharpe
Copy link

This might be out of left field and way out of scope.

Could this gem support running an instance of resque-scheduler alongside various workers?

Asking because resque-scheduler takes up nearly as much memory as a standard worker but never does "real" work. So a fork for it as part of the pool might significantly reduce its memory footprint.

Maybe?

@nevans
Copy link
Collaborator

nevans commented Apr 23, 2020

It's a good idea! I personally use don't use resque-scheduler. I just use cron jobs (using busybox cron!) that do no more than e.g. "script/resque_enqueue CronJobs::Hourly", etc. But there are benefits to scheduler, so a PR would probably be accepted (eventually... I'm bad at punctuality).

@nevans
Copy link
Collaborator

nevans commented Nov 8, 2022

I might get around to this before the end of the year, but... I probably won't. 😉 I am going to migrate my biggest resque-pool deployment from simple cron jobs to resque-scheduler. And resque-scheduler should absolutely be part of a "batteries-included" resque deployment. But... many other projects still take priority over this, for me.

PRs are welcome! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants