Skip to content

refactor(util): make retry policy explicit and deterministic#633

Open
wgtmac wants to merge 1 commit intoapache:mainfrom
wgtmac:refine_retry
Open

refactor(util): make retry policy explicit and deterministic#633
wgtmac wants to merge 1 commit intoapache:mainfrom
wgtmac:refine_retry

Conversation

@wgtmac
Copy link
Copy Markdown
Member

@wgtmac wgtmac commented Apr 29, 2026

No description provided.

.max_wait_ms = 10,
.total_timeout_ms = 5000})
.OnlyRetryOn(ErrorKind::kCommitFailed)
.StopRetryOn({ErrorKind::kCommitFailed})
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see StopRetryOn doesn't have a single error type signature like OnlyRetryOn, is that by design?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants