commit 8ddc6bd5005a49dabbfb46363f59b78265483598
parent 3edcc36f51cb897498e6e1ddb9bd7d37759bcc3b
Author: nickfarrow <nicholas.w.farrow@gmail.com>
Date: Fri, 13 Aug 2021 17:05:54 +1000
Increasing this wait time seems to improve the probability of connection on first attempt, maybe ports aren't ready?
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gateways/ssh_tunnel.py b/gateways/ssh_tunnel.py
@@ -45,6 +45,6 @@ if config.tunnel_host is not None:
if "lnd_rpcport" in config.__dict__.keys():
open_tunnel(config.tunnel_host, config.lnd_rpcport)
- time.sleep(1)
+ time.sleep(2)
else:
tunnel_proc = None