Skip to content

Commit 01d5dd9

Browse files
committed
fix retry policies
1 parent 3a72043 commit 01d5dd9

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/agentex/lib/adk/_modules/acp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
logger = make_logger(__name__)
2525

26-
DEFAULT_RETRY_POLICY = RetryPolicy(maximum_attempts=1)
26+
DEFAULT_RETRY_POLICY = RetryPolicy(maximum_attempts=0)
2727

2828

2929
class ACPModule:

src/agentex/lib/core/temporal/activities/activity_helpers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ async def execute_activity(
2020
heartbeat_timeout: timedelta | None = None,
2121
retry_policy: RetryPolicy | None = None,
2222
) -> Any:
23-
if start_to_close_timeout is None:
24-
start_to_close_timeout = timedelta(seconds=10)
25-
if retry_policy is None:
26-
retry_policy = RetryPolicy(maximum_attempts=0)
2723

2824
response = await workflow.execute_activity(
2925
activity=activity_name,

0 commit comments

Comments
 (0)