diff --git a/socketio/asyncio_server.py b/socketio/asyncio_server.py index 6eed5d4..412e94c 100644 --- a/socketio/asyncio_server.py +++ b/socketio/asyncio_server.py @@ -58,6 +58,10 @@ class AsyncServer(server.Server): disable CORS handling. :param cors_credentials: Whether credentials (cookies, authentication) are allowed in requests to this server. + :param monitor_clients: If set to ``True``, a background task will ensure + inactive clients are closed. Set to ``False`` to + disable the monitoring task (not recommended). The + default is ``True``. :param engineio_logger: To enable Engine.IO logging set to ``True`` or pass a logger object to use. To disable logging set to ``False``. diff --git a/socketio/server.py b/socketio/server.py index 22ba491..1fc3a10 100644 --- a/socketio/server.py +++ b/socketio/server.py @@ -86,6 +86,10 @@ class Server(object): :param cors_credentials: Whether credentials (cookies, authentication) are allowed in requests to this server. The default is ``True``. + :param monitor_clients: If set to ``True``, a background task will ensure + inactive clients are closed. Set to ``False`` to + disable the monitoring task (not recommended). The + default is ``True``. :param engineio_logger: To enable Engine.IO logging set to ``True`` or pass a logger object to use. To disable logging set to ``False``. The default is ``False``.