display LSH only after 12 hours

This commit is contained in:
4cuck committed 2023-10-16 23:32:10 +02:00
1 parent 966edd8f92
commit 898a89f5e3
1 file changed
+1 -1
+1 -1
View File
@@ -138,7 +138,7 @@ impl Scanner {
let host_ping_data = ping_data.remove(&host.id);
let last_healthy = last_healthy_check.remove(&host.id);
let __show_last_seen = last_healthy.map_or(true, |e|(time_now - e) > Duration::hours(4));
let __show_last_seen = last_healthy.map_or(true, |e|(time_now - e) > Duration::hours(12));
host_statistics.push(CacheHost {
last_healthy: last_healthy,
__show_last_seen,