Skip to content

Instantly share code, notes, and snippets.

@owain68
Created January 13, 2015 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owain68/bcb3f9ca3ef2d9f0c694 to your computer and use it in GitHub Desktop.
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
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