hosts: change last_seen from the future warning to a debug

This commit is contained in:
draoi
2024-09-02 10:25:58 +02:00
parent 2ef730e4ee
commit 4fa0977603

View File

@@ -727,8 +727,8 @@ impl HostContainer {
// our system clock is behind or if other nodes are
// misreporting the last_seen field.
if now < last_seen {
warn!(target: "net::hosts::refresh()",
"System clock is behind or peer is misreporting last_seen field");
debug!(target: "net::hosts::refresh()",
"last_seen [{}] is newer than current system time [{}]. Skipping", now, last_seen);
continue
}
if (now - last_seen) > max_age {