TribeHR/cakephp_queue — pull request #8 by rgmccaw (2013-06-05 19:21:41+00:00)
Title: When we requeued the task, the `notbefore` date was calculated relative

to the MySQL clock and this is out of sync with PHP's clock. So it was
setting `notbefore` to the past and the job would just get run over and
over again. Now the dates calculated are all by PHP

[delivers #51178479]

Testing Notes:
To create the issue, create a RemoveAccountUser job in the queue (Delete or terminate user). Make it doesn't run yet. Turn maintenance mode on for the account then start the queue. This should, without this PR, just continually run the job.

Expected Result:
The job should be requeued from 2 minutes from when it was fetched.