resque-restriction
resque-restriction copied to clipboard
Option to not re-queue job if restricted?
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.
@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.