mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 23:19:34 -05:00
Configure exponential backoff so that it never stops retrying
This commit is contained in:
parent
15f7932f7f
commit
08be87747f
@ -111,7 +111,10 @@ impl WatchForTransfer for BobWallet<'_> {
|
|||||||
|
|
||||||
Ok(proof)
|
Ok(proof)
|
||||||
})
|
})
|
||||||
.retry(ExponentialBackoff::default())
|
.retry(ExponentialBackoff {
|
||||||
|
max_elapsed_time: None,
|
||||||
|
..Default::default()
|
||||||
|
})
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
if let Err(Error::InsufficientFunds { expected, actual }) = res {
|
if let Err(Error::InsufficientFunds { expected, actual }) = res {
|
||||||
|
Loading…
Reference in New Issue
Block a user