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

Option to not re-queue job if restricted? #24

Open
daniel-magoosh opened this issue Oct 8, 2021 · 1 comment
Open

Option to not re-queue job if restricted? #24

daniel-magoosh opened this issue Oct 8, 2021 · 1 comment

Comments

@daniel-magoosh
Copy link

The second bullet point in the readme says "it will execute the exceeded jobs at the next period." Is it possible to disable this functionality? I have a job that I would like to restrict to happening once per week per record, and if a job for that record is queued again within that timeframe, the job should just be dropped instead of waiting and running at the end of the week.

@flyerhzm
Copy link
Owner

@daniel-magoosh I'm afraid it doesn't support to drop the job, but it should be easy to do, just change the code where to push the job back to the queue.

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

No branches or pull requests

2 participants