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

'Clear Delayed Jobs' is a bad idea

Open sjernigan opened this issue 5 years ago • 2 comments

We depend on a reliable method for scheduling future jobs. Many of our jobs are scheduled way into the future so our delayed queue can be very long. Having a button for clearing the delayed jobs with no protection around to prevent accidental use is a horrible idea. Locating it adjacent to the "Next" paging links is almost negligent. There should be a configuration option for hiding this button altogether. Someday over a beer I'll tell you about how security scanning software found this button and poked it for us.

sjernigan avatar Nov 16 '18 17:11 sjernigan

Agree. Mind to open a PR?

rafaelfranca avatar Nov 16 '18 20:11 rafaelfranca

Sure, changes checked in to sjernigan/resque-scheduler.git but it might take me a while to test it enough to submit the PR.

sjernigan avatar Nov 16 '18 22:11 sjernigan

I created #754 for this issue.

mishina2228 avatar Sep 23 '22 09:09 mishina2228