Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 0 |
1 | <?php |
||
17 | class BatchJob extends DatabaseJob |
||
18 | { |
||
19 | /** |
||
20 | * The database queue instance. |
||
21 | * |
||
22 | * @var \DNXLabs\LaravelQueueAwsBatch\Queues\BatchQueue |
||
23 | */ |
||
24 | protected $database; |
||
25 | |||
26 | /** |
||
27 | * Release the job back into the queue. |
||
28 | * |
||
29 | * Here we need to retain the same jobId, so Batch can retry it, so we need to override the parent. |
||
30 | * |
||
31 | * @param int $delay |
||
32 | * |
||
33 | * @return void |
||
34 | * @throws UnsupportedException |
||
35 | */ |
||
36 | 1 | public function release($delay = 0) |
|
47 |