mirror of
https://github.com//cppla/ServerStatus
synced 2025-09-23 10:22:21 +08:00
defaut load_1 show
This commit is contained in:
parent
039a2cce27
commit
f86c261efc
@ -187,7 +187,7 @@ function uptime() {
|
|||||||
|
|
||||||
// Load: default load_1, you can change show: load_1, load_5, load_15
|
// Load: default load_1, you can change show: load_1, load_5, load_15
|
||||||
if(result.servers[i].load == -1) {
|
if(result.servers[i].load == -1) {
|
||||||
TableRow.children["load"].innerHTML = "–";
|
TableRow.children["load"].innerHTML = "–";
|
||||||
} else {
|
} else {
|
||||||
TableRow.children["load"].innerHTML = result.servers[i].load_1.toFixed(2);
|
TableRow.children["load"].innerHTML = result.servers[i].load_1.toFixed(2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user