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 <shippo@gmx.at>
  • Loading branch information
PeterFeicht authored and backportbot[bot] committed Jul 28, 2024
1 parent e1ec34c commit 747e91b
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 747e91b

Please sign in to comment.