monitorSilenceTimeout property

Duration monitorSilenceTimeout
getter/setter pair

How long the notifications monitor tolerates a connection that answers heartbeats while delivering nothing, before rebuilding it.

A heartbeat proves the socket is alive, not that notifications are still arriving on it; without this a client can sit reporting NotificationListenerState.listening while permanently deaf. The atServer writes a stats notification to every monitor connection on its own timer, so a healthy connection is never silent for long.

Duration.zero turns the check off, which is what an atServer configured to send no stats notifications needs - against one of those, silence is normal and this would rebuild a healthy connection.

Implementation

Duration monitorSilenceTimeout = Duration(seconds: 60);