Skip to content

Commit

Permalink
Merge pull request #652 from nextcloud/backport/641/stable28
Browse files Browse the repository at this point in the history
[stable28] Use a more sensible format for load average
  • Loading branch information
kesselb authored Jul 28, 2024
2 parents 57bc865 + cd159ef commit e14cef3
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 @@ -129,7 +129,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 e14cef3

Please sign in to comment.