From 4a2793864047134c6521dc44562828b6ab071c17 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 04:09:40 +0100 Subject: add lastSyncSecsAgo and description to /peers --- src/api/dashboard/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/dashboard/dashboard.html') 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); -- cgit v1.3.1