aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/dashboard/dashboard.html
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 04:09:40 +0100
committertv <tv@krebsco.de>2026-10-31 04:09:40 +0100
commit4a2793864047134c6521dc44562828b6ab071c17 (patch)
tree9c5baa8f44d2ae1888a2d64c86d5bb4692d0f82c /src/api/dashboard/dashboard.html
parentac65b537339b9bbb5528fe94e4587fa01ae6f34c (diff)
add lastSyncSecsAgo and description to /peers
Diffstat (limited to 'src/api/dashboard/dashboard.html')
-rw-r--r--src/api/dashboard/dashboard.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html
index 0bbd9c5..091d7ee 100644
--- a/src/api/dashboard/dashboard.html
+++ b/src/api/dashboard/dashboard.html
@@ -163,7 +163,7 @@ let state = null;
let stateAt = 0;
// Fields that grow by themselves (`GROWING` and `is_age` in the node's dashboard).
-const GROWING = new Set(["uptimeSecs", "dormantForSecs", "observedSecs",
+const GROWING = new Set(["uptimeSecs", "dormantForSecs", "divergedForSecs", "observedSecs",
"lastFromNeighbourSecs", "oldestQuarantineSecs"]);
const isAge = key => key === "secsAgo" || key.endsWith("SecsAgo") || GROWING.has(key);
const elapsed = () => Math.floor((Date.now() - stateAt) / 1000);