diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index fd087fb6c15..31a9db5fa15 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -769,7 +769,7 @@ pub struct ProbabilisticScoringDecayParameters { /// liquidity bounds are 200,000 sats and 600,000 sats, after this amount of time the upper /// and lower liquidity bounds will be decayed to 100,000 and 800,000 sats. /// - /// Default value: 6 hours + /// Default value: 30 minutes /// /// # Note /// @@ -781,7 +781,7 @@ pub struct ProbabilisticScoringDecayParameters { impl Default for ProbabilisticScoringDecayParameters { fn default() -> Self { Self { - liquidity_offset_half_life: Duration::from_secs(6 * 60 * 60), + liquidity_offset_half_life: Duration::from_secs(30 * 60), historical_no_updates_half_life: Duration::from_secs(60 * 60 * 24 * 14), } } @@ -791,7 +791,7 @@ impl Default for ProbabilisticScoringDecayParameters { impl ProbabilisticScoringDecayParameters { fn zero_penalty() -> Self { Self { - liquidity_offset_half_life: Duration::from_secs(6 * 60 * 60), + liquidity_offset_half_life: Duration::from_secs(30 * 60), historical_no_updates_half_life: Duration::from_secs(60 * 60 * 24 * 14), } }