Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 3, 2024
1 parent 6b739f3 commit fd21774
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ Group::findBestProcessPreferringStickySessionId(unsigned int id) const {
Process *process = (*it).get();
if (process->getStickySessionId() == id) {
return process;
} else if (bestProcess == nullptr ||
process->generation > bestProcess->generation ||
} else if (bestProcess == nullptr ||
process->generation > bestProcess->generation ||
(process->generation == bestProcess->generation && process->spawnerCreationTime < bestProcess->spawnerCreationTime) ||
(process->generation == bestProcess->generation && process->spawnerCreationTime == bestProcess->spawnerCreationTime && process->busyness() < bestProcess->busyness())
) {
) {
bestProcess = process;
}
}
Expand All @@ -93,7 +93,7 @@ Group::findBestProcess(const ProcessList &processes) const {
process->generation > bestProcess->generation ||
(process->generation == bestProcess->generation && process->spawnerCreationTime < bestProcess->spawnerCreationTime) ||
(process->generation == bestProcess->generation && process->spawnerCreationTime == bestProcess->spawnerCreationTime && process->busyness() < bestProcess->busyness())
) {
) {
bestProcess = process;
}
}
Expand Down

0 comments on commit fd21774

Please sign in to comment.