I'm migrating from Delayed_jobs to Resque and given that I'm going to have a lot of jobs always queued (some in the future), it's impossible to know when I can scale workers down to 0 to do a safe new release.
Is there any way to safely tell workers on Heroku to finish processing the current job but not take any new one?
That way , I can scale workers down to zero to do a safe release of a new version on Heroku when jobs are not processing anything.
Then I can scale back up number of workers and resume processing.