Now fetch 30 days of server stats.
This commit is contained in:
parent
f36401a208
commit
d4115c7aa6
File diff suppressed because one or more lines are too long
|
@ -7273,7 +7273,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function refreshServerTimelineStats(stats) { meshserver.send({ action: 'servertimelinestats', hours: 24 }); }
|
function refreshServerTimelineStats(stats) { meshserver.send({ action: 'servertimelinestats', hours: 24 * 30 }); }
|
||||||
function pastDate(hours) { var t = new Date(); t.setTime(t.getTime() - (60 * 60 * 1000 * hours)); return t; }
|
function pastDate(hours) { var t = new Date(); t.setTime(t.getTime() - (60 * 60 * 1000 * hours)); return t; }
|
||||||
function setServerTimelineStats(stats) { serverTimelineStats = stats; updateServerTimelineStats(); }
|
function setServerTimelineStats(stats) { serverTimelineStats = stats; updateServerTimelineStats(); }
|
||||||
function addServerTimelineStats(stats) {
|
function addServerTimelineStats(stats) {
|
||||||
|
|
Loading…
Reference in New Issue