Skip to content

Commit

Permalink
Merge pull request #653 from nextcloud/backport/641/stable29
Browse files Browse the repository at this point in the history
[stable29] Use a more sensible format for load average
  • Loading branch information
kesselb authored Jul 28, 2024
2 parents e1ec34c + 178be26 commit 1d869c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
});
}

$cpuFooterInfo.text(t('serverinfo', 'Load average: {cpu} (last minute)', { cpu: cpu1 }));
$cpuFooterInfo.text(t('serverinfo', 'Load average: {cpu} (last minute)', { cpu: cpu1.toFixed(2) }));
cpuLoadLine.append(new Date().getTime(), cpu1);
}

Expand Down

0 comments on commit 1d869c8

Please sign in to comment.