idle_timeout


Description:

[ NoAccessorMethod ]
[ Version ( since = "2.24" ) ]
public uint idle_timeout { set; get; }

Connection lifetime (in seconds) when idle.

Any connection left idle longer than this will be closed.

Although you can change this property at any time, it will only affect newly-created connections, not currently-open ones. You can call abort after setting this if you want to ensure that all future connections will have this timeout value.

Note that the default value of 60 seconds only applies to plain Sessions. If you are using SessionAsync or SessionSync, the default value is 0 (meaning idle connections will never time out).