From 9ac8f011fea92941a45fbfd4e8ffbf54f3447fa3 Mon Sep 17 00:00:00 2001 From: Tim O'Farrell Date: Mon, 9 Jun 2025 09:02:52 -0600 Subject: [PATCH] Converted exponential backoff to fixed (#9006) --- openhands/runtime/impl/local/local_runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhands/runtime/impl/local/local_runtime.py b/openhands/runtime/impl/local/local_runtime.py index f1d6867794..0ba96b4568 100644 --- a/openhands/runtime/impl/local/local_runtime.py +++ b/openhands/runtime/impl/local/local_runtime.py @@ -406,7 +406,7 @@ class LocalRuntime(ActionExecutionClient): return port @tenacity.retry( - wait=tenacity.wait_exponential(min=1, max=10), + wait=tenacity.wait_fixed(2), stop=tenacity.stop_after_attempt(10) | stop_if_should_exit(), before_sleep=lambda retry_state: logger.debug( f'Waiting for server to be ready... (attempt {retry_state.attempt_number})'