mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-06 22:18:52 +01:00
Fix
This commit is contained in:
parent
9ff03141ba
commit
0ab0b834eb
@ -154,6 +154,10 @@ func (p *ConnProfiler) checkHandshakes() {
|
||||
if stat.LastHandshake.IsZero() {
|
||||
continue
|
||||
}
|
||||
|
||||
if stat.LastHandshake.Before(time.Now().Add(-100 * time.Hour)) {
|
||||
continue
|
||||
}
|
||||
profile.WireGuardConnected = stat.LastHandshake
|
||||
}
|
||||
p.profilesMu.Unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user