update definitions

This commit is contained in:
Callan Bryant 2020-03-08 21:52:36 +00:00
parent 130d3ba8cc
commit fa01a74f6b
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -17,9 +17,9 @@ const (
StatusUnknown = iota
// Host has not been loaded into wireguard yet
StatusSyncRequired
// Host has not transferred anything (not even a keepalive) for 30 seconds
// No handshake in 3 minutes
StatusOffline
// Host has transferred something in the last 30 seconds, keepalive counts
// Handshake in 3 minutes
StatusOnline
// Host has not connected for 28 days and may be removed
StatusExpired