Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/viam/robot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ async def _check_connection(self, check_every: int, reconnect_every: int):
if reconnect_every <= 0:
continue

if self._connected:
continue

reconnect_attempts = self._options.dial_options.max_reconnect_attempts if self._options.dial_options else 3

for _ in range(reconnect_attempts):
Expand Down