Skip to content

Commit 83fc038

Browse files
committed
Adjust websocket ping timeout
1 parent 502030c commit 83fc038

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

async_rithmic/plants/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ async def _connect(self):
184184
self.ws = await websockets.connect(
185185
self.credentials["gateway"],
186186
ssl=self.ssl_context,
187-
ping_interval=10
187+
ping_interval=60,
188+
ping_timeout=50,
188189
)
189190

190191
if self.plant_type == "ticker":

0 commit comments

Comments
 (0)