inactivityTimeout property
The duration after which the connection is considered unstable, because no keep alive message was received from the server in the given time-frame. The connection to the server will be closed. If autoReconnect is set to true, we try to reconnect to the server after the specified delayBetweenReconnectionAttempts.
Under the legacy graphql-ws subprotocol this is only enforced once the peer has sent at least
one keep alive message, so a server that never sends one (Apollo Server 3+, NestJS) is not
force-closed.
If null, the keep alive messages will be ignored.
Implementation
final Duration? inactivityTimeout;