mirror of
https://github.com/browser-use/browser-use.git
synced 2026-09-14 19:59:47 +08:00
719d0361e5
The circuit breaker and agent error handler were using a hardcoded 20s timeout, but the worst-case auto-reconnect window is ~48s (3 attempts * 15s + 7s delays). Handlers would raise ConnectionError while reconnection was still in progress. Now both use BrowserSession.RECONNECT_WAIT_TIMEOUT (54s) derived from the actual reconnect parameters.
14 KiB
14 KiB