Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Decrease reconnect for python websocket client

Jakub Novak389d54f5eacf
diff --git a/packages/python-sdk/e2b/sandbox/websocket_client.py b/packages/python-sdk/e2b/sandbox/websocket_client.py
index 4a03c78aa..2bd8d309a 100644
--- a/packages/python-sdk/e2b/sandbox/websocket_client.py
+++ b/packages/python-sdk/e2b/sandbox/websocket_client.py
@@ -76,7 +76,7 @@ class WebSocket:
websocket_connector.BACKOFF_MIN = 1
websocket_connector.BACKOFF_FACTOR = 1
- websocket_connector.BACKOFF_INITIAL = 0.3 # type: ignore
+ websocket_connector.BACKOFF_INITIAL = 0.2 # type: ignore
async for websocket in websocket_connector:
try: