Skip to content

Commit

Permalink
Use a more sensible format for load average
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Feichtinger <[email protected]>
  • Loading branch information
PeterFeicht authored and backportbot[bot] committed Jul 28, 2024
1 parent 57bc865 commit cd159ef
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 cd159ef

Please sign in to comment.