@@ -11,7 +11,7 @@ |
||
11 | 11 | $jobs = [ |
12 | 12 | ['class' => 'ProcessImage', 'args' => [['url' => 'http://i.imgur.com/hlAsa4k.jpg'], true, 12]], |
13 | 13 | ['class' => 'ProcessImage', 'args' => [['url' => 'http://i.imgur.com/hlAsa4k.jpg'], true, null]], |
14 | - ['class' => 'ProcessImage', 'args' => [['url' => 'http://i.imgur.com/hlAsa4k.jpg']], 'at' => microtime(true)+60*6, 'retry' => false] |
|
14 | + ['class' => 'ProcessImage', 'args' => [['url' => 'http://i.imgur.com/hlAsa4k.jpg']], 'at' => microtime(true) + 60*6, 'retry' => false] |
|
15 | 15 | ]; |
16 | 16 | |
17 | 17 | // push jobs to a different queue |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | include __DIR__.'/../vendor/autoload.php'; |
3 | -function _print($id, $retry){ |
|
3 | +function _print($id, $retry) { |
|
4 | 4 | var_dump(sprintf('Pushed job with id %s and retry:%d', $id, $retry)); |
5 | 5 | } |
6 | 6 |