From 75ce29135cf967cacd5f2183aec5dda275b0489e Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 26 Jan 2023 21:26:25 +0100 Subject: [PATCH] Increase obsolescence limit to 1 week --- dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard.py b/dashboard.py index 7624584..5dd7f68 100644 --- a/dashboard.py +++ b/dashboard.py @@ -31,7 +31,7 @@ class Dashboard: if not tso.data: log.warning("%s has no data: Skipping", tso.id) continue - if tso.data[-1][0] < time.time() - 86400: + if tso.data[-1][0] < time.time() - 7 * 86400: log.info("%s too old; Skipping", tso.id) continue w1 = {**w, "data": [ts]}