mirror of
https://github.com/4cuck/nitter-status.git
synced 2026-10-27 00:57:39 +00:00
display LSH only after 12 hours
This commit is contained in:
1 parent
966edd8f92
commit
898a89f5e3
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user