tbtc-v2 icon indicating copy to clipboard operation
tbtc-v2 copied to clipboard

Skip retry for registered wallets

Open ptdatta opened this issue 1 year ago • 1 comments

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.

ptdatta avatar Jun 24 '24 07:06 ptdatta

Thanks for this @ptdatta! Giving it a look

mhluongo avatar Aug 23 '24 15:08 mhluongo