Increase obsolescence limit to 1 week

This commit is contained in:
Peter J. Holzer 2023-01-26 21:26:25 +01:00 committed by Peter J. Holzer
parent 22c790080a
commit 75ce29135c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class Dashboard:
if not tso.data: if not tso.data:
log.warning("%s has no data: Skipping", tso.id) log.warning("%s has no data: Skipping", tso.id)
continue 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) log.info("%s too old; Skipping", tso.id)
continue continue
w1 = {**w, "data": [ts]} w1 = {**w, "data": [ts]}