Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Dec 6, 2019
1 parent 4b77e54 commit 24a05e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AutoScaler.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function timeToClearPerQueue(Supervisor $supervisor, Collection $pools

return [$queue => [
'size' => $size,
'time' => ($size * $this->metrics->runtimeForQueue($queue))
'time' => ($size * $this->metrics->runtimeForQueue($queue)),
]];
});
}
Expand All @@ -105,7 +105,7 @@ protected function numberOfWorkersPerQueue(Supervisor $supervisor, Collection $q
$supervisor->options->autoScaling()) {
return [
$queue => $timeToClear['size'] ?
$supervisor->options->maxProcesses : $supervisor->options->minProcesses
$supervisor->options->maxProcesses : $supervisor->options->minProcesses,
];
}

Expand Down

0 comments on commit 24a05e6

Please sign in to comment.