We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e710402 commit cecb2e6Copy full SHA for cecb2e6
template/server/messaging.py
@@ -345,7 +345,7 @@ async def execute(
345
break
346
except (ConnectionClosedError, WebSocketException) as e:
347
# Keep the last result, even if error
348
- if i < MAX_RECONNECT_RETRIES - 1:
+ if i < MAX_RECONNECT_RETRIES:
349
logger.warning(
350
f"WebSocket connection lost while sending execution request, {i + 1}. reconnecting...: {str(e)}"
351
)
0 commit comments