Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(retry): Reset delay/count state if an operation succeeds #3229

Merged
merged 3 commits into from
May 31, 2023

Conversation

kitten
Copy link
Member

@kitten kitten commented May 30, 2023

Resolves #3220

Summary

This resets operations’ delay and count states if they succeed. This may be important to recover from failing subscriptions, since a new result should be able to restore the retry state to where it was before the subscription failed.

Set of changes

  • Add resetting object state to retryExchange
  • Add test case

@kitten kitten merged commit 75b0d7c into main May 31, 2023
@kitten kitten deleted the fix/reset-error-state branch May 31, 2023 09:21
@github-actions github-actions bot mentioned this pull request May 31, 2023
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.

RFC: Retry Exchange - Reset Delay
1 participant