Skip to content

Commit

Permalink
Update ping_timeout documented default to accord with current Engin…
Browse files Browse the repository at this point in the history
…e.IO behavior (#1255)
  • Loading branch information
lucaswiman committed Oct 11, 2023
1 parent 2e1f026 commit d40b3a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/socketio/async_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/socketio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d40b3a3

Please sign in to comment.