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

Feature: StopAndPauseJobsWorkRake : stop or pause the jobs:work rake … #1186

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

muhammadsohaibdev
Copy link

Adds a functionality for pausing or killing the rake task rake jobs:work.

It will check for relevant file's presence (stop_dj_worker.txt or pause_dj_worker.txt). If the file is present, it will stop or pause the rake task, so no more jobs are locked in the delayed_jobs table in the Database.

This is especially helpful in production environments.

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

Successfully merging this pull request may close these issues.

1 participant