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.
1 parent fef0762 commit 65c3440Copy full SHA for 65c3440
src/ProdScheduler/SchedulerComputeTrait.php
@@ -62,7 +62,7 @@ public function compute()
62
if (isset($initialPhase)) {
63
foreach ($forwardComputePhases as $i => $itemPhase) {
64
$workerNum = $itemPhase['worker_num'];
65
- $costTime = $itemPhase['cost_time'];
+ $costTime = $itemPhase['cost_time'] ?: 0;
66
67
list($singleCost, $totalCost) = $this->getPhaseCostTime($itemQty, $itemPhaseMaxCostTime, $costTime, $workerNum);
68
if ($i === 0) {
0 commit comments