We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 894b41d + 073f25f commit 5954c98Copy full SHA for 5954c98
lib/ResqueScheduler/Worker.php
@@ -55,9 +55,9 @@ public function work($interval = null)
55
*/
56
public function handleDelayedItems($timestamp = null)
57
{
58
- while (($timestamp = ResqueScheduler::nextDelayedTimestamp($timestamp)) !== false) {
+ while (($oldestJobTimestamp = ResqueScheduler::nextDelayedTimestamp($timestamp)) !== false) {
59
$this->updateProcLine('Processing Delayed Items');
60
- $this->enqueueDelayedItemsForTimestamp($timestamp);
+ $this->enqueueDelayedItemsForTimestamp($oldestJobTimestamp);
61
}
62
63
0 commit comments