From 46259222c31a418a05033dc75fa9e44a1a8e252d Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Thu, 9 Jun 2022 11:14:53 -0500 Subject: [PATCH] Use a 10-second timeout for InvoicePayer --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3bdabc1..202b551 100644 --- a/src/main.rs +++ b/src/main.rs @@ -677,7 +677,7 @@ async fn start_ldk() { scorer.clone(), logger.clone(), event_handler, - payment::Retry::Attempts(5), + payment::Retry::Timeout(Duration::from_secs(10)), )); // Step 18: Persist ChannelManager and NetworkGraph -- 2.39.5