Created
January 13, 2015 11:59
-
-
Save owain68/bcb3f9ca3ef2d9f0c694 to your computer and use it in GitHub Desktop.
Rails delayed job unblock queue with a bit of sql and spread the run_at a bit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update delayed_jobs set run_at=now() + interval minute(run_at) minute; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment