File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
* ResqueScheduler worker to handle scheduling of delayed tasks.
4
4
*
5
5
* @package ResqueScheduler
6
- * @author Chris Boulton <chris.boulton@interspire .com>
6
+ * @author Chris Boulton <chris@bigcommerce .com>
7
7
* @copyright (c) 2012 Chris Boulton
8
8
* @license http://www.opensource.org/licenses/mit-license.php
9
9
*/
@@ -55,7 +55,7 @@ public function work($interval = null)
55
55
*/
56
56
public function handleDelayedItems ($ timestamp = null )
57
57
{
58
- while ($ timestamp = ResqueScheduler::nextDelayedTimestamp ($ timestamp )) {
58
+ while (( $ timestamp = ResqueScheduler::nextDelayedTimestamp ($ timestamp )) !== false ) {
59
59
$ this ->updateProcLine ('Processing Delayed Items ' );
60
60
$ this ->enqueueDelayedItemsForTimestamp ($ timestamp );
61
61
}
You can’t perform that action at this time.
0 commit comments