From d40b3a33fff5c6b896559fc534ccd611ab9cf1f4 Mon Sep 17 00:00:00 2001 From: "[object Object]" Date: Wed, 11 Oct 2023 01:46:13 -0700 Subject: [PATCH] Update `ping_timeout` documented default to accord with current Engine.IO behavior (#1255) --- src/socketio/async_server.py | 2 +- src/socketio/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/socketio/async_server.py b/src/socketio/async_server.py index b39ae86..f3bb8f8 100644 --- a/src/socketio/async_server.py +++ b/src/socketio/async_server.py @@ -64,7 +64,7 @@ class AsyncServer(base_server.BaseServer): is a grace period added by the server. :param ping_timeout: The time in seconds that the client waits for the server to respond before disconnecting. The default - is 5 seconds. + is 20 seconds. :param max_http_buffer_size: The maximum size of a message when using the polling transport. The default is 1,000,000 bytes. diff --git a/src/socketio/server.py b/src/socketio/server.py index 89a6b9e..275e530 100644 --- a/src/socketio/server.py +++ b/src/socketio/server.py @@ -73,7 +73,7 @@ class Server(base_server.BaseServer): is a grace period added by the server. :param ping_timeout: The time in seconds that the client waits for the server to respond before disconnecting. The default - is 5 seconds. + is 20 seconds. :param max_http_buffer_size: The maximum size of a message when using the polling transport. The default is 1,000,000 bytes.