Converted exponential backoff to fixed (#9006)

This commit is contained in:
Tim O'Farrell
2025-06-09 09:02:52 -06:00
committed by GitHub
parent d84befe28f
commit 9ac8f011fe

View File

@@ -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})'