Skip to content

Commit

Permalink
Removing empty lines for StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
SDekkers committed Aug 20, 2019
1 parent c94e265 commit 2b50886
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/AutoScaler.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ protected function numberOfWorkersPerQueue(Supervisor $supervisor, Collection $t
$timeToClearAll = $timeToClear->sum();

return $timeToClear->mapWithKeys(function ($timeToClear, $queue) use ($supervisor, $timeToClearAll) {

if ($timeToClearAll > 0 &&
$supervisor->options->autoScaling()) {
return [$queue => (($timeToClear / $timeToClearAll) * $supervisor->options->maxProcesses)];
Expand All @@ -105,7 +104,6 @@ protected function numberOfWorkersPerQueue(Supervisor $supervisor, Collection $t
}

return [$queue => $supervisor->options->maxProcesses / count($supervisor->processPools)];

})->sort();
}

Expand Down

0 comments on commit 2b50886

Please sign in to comment.