projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8a29eb7
)
Use a 10-second timeout for InvoicePayer
author
Jeffrey Czyz
<jkczyz@gmail.com>
Thu, 9 Jun 2022 16:14:53 +0000
(11:14 -0500)
committer
Jeffrey Czyz
<jkczyz@gmail.com>
Thu, 9 Jun 2022 22:02:38 +0000
(17:02 -0500)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index 3bdabc172063b954cb8dddb8d9a49cd837c4b393..202b551f140ad177c67f49f4d95262e3999d4514 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-677,7
+677,7
@@
async fn start_ldk() {
scorer.clone(),
logger.clone(),
event_handler,
scorer.clone(),
logger.clone(),
event_handler,
- payment::Retry::
Attempts(5
),
+ payment::Retry::
Timeout(Duration::from_secs(10)
),
));
// Step 18: Persist ChannelManager and NetworkGraph
));
// Step 18: Persist ChannelManager and NetworkGraph