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

Method ping_interval

python/python3/tornado/websocket.py:283–288  ·  view source on GitHub ↗

The interval for websocket keep-alive pings. Set websocket_ping_interval = 0 to disable pings.

(self)

Source from the content-addressed store, hash-verified

281
282 @property
283 def ping_interval(self) -> Optional[float]:
284 """The interval for websocket keep-alive pings.
285
286 Set websocket_ping_interval = 0 to disable pings.
287 """
288 return self.settings.get("websocket_ping_interval", None)
289
290 @property
291 def ping_timeout(self) -> Optional[float]:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected