peerOnlineTimeout property

Duration peerOnlineTimeout
getter/setter pairinherited

The timeout period for considering a peer offline.

If a peer has not been seen for this duration, it is considered offline. This value is used by the getPeerStatus method to determine the online/offline status of a peer.

Implementation

late Duration peerOnlineTimeout = retryPeriod * 2;