From 34519749d240e2a00b9cdc1e9e9933feeaa9a51a Mon Sep 17 00:00:00 2001 From: Bastien Teinturier <31281497+t-bast@users.noreply.github.com> Date: Mon, 13 Dec 2021 10:34:33 +0100 Subject: [PATCH] Raise default connection timeout values (#2093) We've seen users bump into these limits often because many nodes now run behind Tor on poor hardware, so it makes sense to make our default values more robust. --- eclair-core/src/main/resources/reference.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclair-core/src/main/resources/reference.conf b/eclair-core/src/main/resources/reference.conf index b1379dbfa2..766b0d4c16 100644 --- a/eclair-core/src/main/resources/reference.conf +++ b/eclair-core/src/main/resources/reference.conf @@ -192,10 +192,10 @@ eclair { revocation-timeout = 20 seconds // after sending a commit_sig, we will wait for at most that duration before disconnecting peer-connection { - auth-timeout = 10 seconds // will disconnect if connection authentication doesn't happen within that timeframe - init-timeout = 10 seconds // will disconnect if initialization doesn't happen within that timeframe + auth-timeout = 15 seconds // will disconnect if connection authentication doesn't happen within that timeframe + init-timeout = 15 seconds // will disconnect if initialization doesn't happen within that timeframe ping-interval = 30 seconds - ping-timeout = 10 seconds // will disconnect if peer takes longer than that to respond + ping-timeout = 20 seconds // will disconnect if peer takes longer than that to respond ping-disconnect = true // disconnect if no answer to our pings }