Skip to content

Commit 110e213

Browse files
committed
Revert "Removing unneeded fix in last commit."
This reverts commit 37ea2e2.
1 parent 37ea2e2 commit 110e213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ResqueScheduler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public static function nextDelayedTimestamp($at = null)
223223
$at = self::getTimestamp($at);
224224
}
225225

226-
$items = Resque::redis()->zrangebyscore('delayed_queue_schedule', '-inf', $at, 'LIMIT', 0, 1);
226+
$items = Resque::redis()->zrangebyscore('delayed_queue_schedule', '-inf', $at, array('limit' => array(0, 1)));
227227
if (!empty($items)) {
228228
return $items[0];
229229
}

0 commit comments

Comments
 (0)