Increase obsolescence limit to 1 week
This commit is contained in:
parent
22c790080a
commit
75ce29135c
|
@ -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]}
|
||||
|
|
Loading…
Reference in New Issue