From fe20ecfe8b6c4f2b2ae0e2636f686fe938e2b541 Mon Sep 17 00:00:00 2001 From: Jens Nolte <git@queezle.net> Date: Fri, 7 May 2021 03:19:39 +0200 Subject: [PATCH] Extend a comment --- src/Network/Rpc.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/Rpc.hs b/src/Network/Rpc.hs index ae8620b..3eb4068 100644 --- a/src/Network/Rpc.hs +++ b/src/Network/Rpc.hs @@ -631,7 +631,7 @@ newClientTCP host port = do raceConnections = do spawnConnectTask best threadDelay 200000 - -- Give the "best" address another try, in case the TCP SYN gets dropped + -- Give the "best" address another try, in case the TCP SYN gets dropped (kernel retry interval can be multiple seconds long) spawnConnectTask best threadDelay 100000 -- Try to connect to all other resolved addresses to prevent waiting for e.g. a long IPv6 connection timeout -- GitLab