Skip to content

Skip retry for registered wallets#816

Open
ptdatta wants to merge 2 commits intothreshold-network:mainfrom
ptdatta:backoffRetrier
Open

Skip retry for registered wallets#816
ptdatta wants to merge 2 commits intothreshold-network:mainfrom
ptdatta:backoffRetrier

Conversation

@ptdatta
Copy link
Copy Markdown
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.

Signed-off-by: Parthib Datta <parthibdutta02@gmail.com>
@mhluongo
Copy link
Copy Markdown
Member

Thanks for this @ptdatta! Giving it a look

@mhluongo mhluongo requested a review from Shadowfiend August 23, 2024 15:22
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