Skip to content

Commit

Permalink
Merge pull request #9 from p2pderivatives/increase-ping-timeout
Browse files Browse the repository at this point in the history
Increase `PING_TIMER` to 20 seconds
  • Loading branch information
luckysori authored Aug 31, 2023
2 parents 420d961 + 3b69cec commit 25da091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning-background-processor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const FRESHNESS_TIMER: u64 = 60;
const FRESHNESS_TIMER: u64 = 1;

#[cfg(all(not(test), not(debug_assertions)))]
const PING_TIMER: u64 = 10;
const PING_TIMER: u64 = 20;
/// Signature operations take a lot longer without compiler optimisations.
/// Increasing the ping timer allows for this but slower devices will be disconnected if the
/// timeout is reached.
Expand Down

0 comments on commit 25da091

Please sign in to comment.