Disable WebSocket heartbeat on server and increase client timeout to 30s to resolve connection drops
This commit is contained in:
@@ -82,7 +82,7 @@ def main():
|
||||
"X-Device-ID": DEVICE_ID
|
||||
}
|
||||
|
||||
ws = WebSocketClient(HERMES_WS_URL, headers=headers)
|
||||
ws = WebSocketClient(HERMES_WS_URL, headers=headers, timeout=30)
|
||||
try:
|
||||
ws.connect()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user