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

Skip retry for registered wallets #816

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ptdatta
Copy link
Contributor

@ptdatta ptdatta commented Jun 24, 2024

Fixes #815

The backoffRetrier runs retry for every error which makes the redemption process takes a long time.

So for registered wallets, it should not retry so instead of retryAll we use skipRetryWhenMatched["Wallet with the given ID has not been registered"] so that it skips retry for registered wallets.

@mhluongo
Copy link
Member

Thanks for this @ptdatta! Giving it a look

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.

Improve wallet lookup during redemptions
2 participants