MCPcopy Create free account
hub / github.com/EasyIME/PIME / ping_timeout

Method ping_timeout

python/python3/tornado/websocket.py:291–296  ·  view source on GitHub ↗

If no ping is received in this many seconds, close the websocket connection (VPNs, etc. can fail to cleanly close ws connections). Default is max of 3 pings or 30 seconds.

(self)

Source from the content-addressed store, hash-verified

289
290 @property
291 def ping_timeout(self) -> Optional[float]:
292 """If no ping is received in this many seconds,
293 close the websocket connection (VPNs, etc. can fail to cleanly close ws connections).
294 Default is max of 3 pings or 30 seconds.
295 """
296 return self.settings.get("websocket_ping_timeout", None)
297
298 @property
299 def max_message_size(self) -> int:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected