default_idle_timeout Property
The default idle timeout for inactive clients.
Syntax
def get_default_idle_timeout() -> int: ... def set_default_idle_timeout(value: int) -> None: ...
default_idle_timeout = property(get_default_idle_timeout, set_default_idle_timeout)
Default Value
0
Remarks
This property specifies the idle timeout (in seconds) for clients. When set to a positive value the class will disconnect idle clients after the specified timeout.
This only applies to clients that have not sent or received data within default_idle_timeout seconds.
If set to 0 (default) no idle timeout is applied.
Note: do_events must be called in order for the class to check existing connections.