We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ping_interval
ping_timeout
run_forever
1 parent fcdc77e commit fc2d33cCopy full SHA for fc2d33c
1 file changed
Framework/Utilities/live_log_service.py
@@ -233,7 +233,11 @@ def run_ws_thread():
233
next_ws = _build_websocket(ws_url)
234
with connection_lock:
235
ws = next_ws
236
- next_ws.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE})
+ next_ws.run_forever(
237
+ sslopt={"cert_reqs": ssl.CERT_NONE},
238
+ ping_interval=15,
239
+ ping_timeout=10
240
+ )
241
except Exception as e:
242
_log(f"Connection attempt failed: {e}")
243
finally:
0 commit comments