Skip to content

Commit e3c0d07

Browse files
chore: bump HTLC_EXPIRY_THRESHOLD_SECS from 10 to 45
The 10s threshold was too tight for the webhook delivery pipeline, causing premature HTLC expiry and RetriesExhausted failures on 402 payments. 45s gives ample room for webhook round-trips while still well within CLTV delta bounds.
1 parent 02223b7 commit e3c0d07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lightning-liquidity/src/lsps4/service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use std::string::String;
4949
use std::time::Instant;
5050
use std::vec::Vec;
5151

52-
const HTLC_EXPIRY_THRESHOLD_SECS: u64 = 10;
52+
const HTLC_EXPIRY_THRESHOLD_SECS: u64 = 45;
5353

5454
/// Action to forward a specific HTLC through a channel
5555
#[derive(Debug)]

0 commit comments

Comments
 (0)