From: Jeffrey Czyz Date: Thu, 9 Jun 2022 16:14:53 +0000 (-0500) Subject: Use a 10-second timeout for InvoicePayer X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=46259222c31a418a05033dc75fa9e44a1a8e252d;p=ldk-sample Use a 10-second timeout for InvoicePayer --- 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