Browse Source

Update `ping_timeout` documented default to accord with current Engine.IO behavior (#1255)

pull/1264/head
[object Object] 2 years ago
committed by GitHub
parent
commit
d40b3a33ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/socketio/async_server.py
  2. 2
      src/socketio/server.py

2
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.

2
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.

Loading…
Cancel
Save