Skip to content

Commit 25da091

Browse files
authored
Merge pull request #9 from p2pderivatives/increase-ping-timeout
Increase `PING_TIMER` to 20 seconds
2 parents 420d961 + 3b69cec commit 25da091

File tree

1 file changed

+1
-1
lines changed
  • lightning-background-processor/src

1 file changed

+1
-1
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const FRESHNESS_TIMER: u64 = 60;
9494
const FRESHNESS_TIMER: u64 = 1;
9595

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

0 commit comments

Comments
 (0)