From 158523aca978dba5a22e25169cad37e13b6c3f77 Mon Sep 17 00:00:00 2001 From: Prassanna Ravishankar Date: Thu, 25 Sep 2025 10:21:06 +0100 Subject: [PATCH] Fix DEFAULT_MAX_RETRIES value from 0 to 2 --- src/agentex/_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agentex/_constants.py b/src/agentex/_constants.py index 44ad5b2d..ccb3ec52 100644 --- a/src/agentex/_constants.py +++ b/src/agentex/_constants.py @@ -7,7 +7,7 @@ # default timeout is 1 minute DEFAULT_TIMEOUT = httpx.Timeout(timeout=300, connect=5.0) -DEFAULT_MAX_RETRIES = 0 +DEFAULT_MAX_RETRIES = 2 DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=1000) INITIAL_RETRY_DELAY = 0.5