Skip to content

Commit 30cd7b9

Browse files
chore: use break in final sync retry
1 parent fc14480 commit 30cd7b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sdks/python/src/agent_control/observability.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def _send_batch_sync(
448448
logger.error("Error sending events during shutdown: %s", e)
449449

450450
if attempt >= get_settings().max_retries - 1:
451-
continue
451+
break
452452

453453
retry_delay = get_settings().retry_delay * (attempt + 1)
454454
if deadline is not None:

0 commit comments

Comments
 (0)