Skip to content

Commit d40b3a3

Browse files
authored
Update ping_timeout documented default to accord with current Engine.IO behavior (#1255)
1 parent 2e1f026 commit d40b3a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/socketio/async_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class AsyncServer(base_server.BaseServer):
6464
is a grace period added by the server.
6565
:param ping_timeout: The time in seconds that the client waits for the
6666
server to respond before disconnecting. The default
67-
is 5 seconds.
67+
is 20 seconds.
6868
:param max_http_buffer_size: The maximum size of a message when using the
6969
polling transport. The default is 1,000,000
7070
bytes.

src/socketio/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Server(base_server.BaseServer):
7373
is a grace period added by the server.
7474
:param ping_timeout: The time in seconds that the client waits for the
7575
server to respond before disconnecting. The default
76-
is 5 seconds.
76+
is 20 seconds.
7777
:param max_http_buffer_size: The maximum size of a message when using the
7878
polling transport. The default is 1,000,000
7979
bytes.

0 commit comments

Comments
 (0)