From b6e87e4a3e4d8d6f0d4b41ec13b3787f8d1c5189 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Tue, 29 Mar 2022 11:18:49 +0100 Subject: [PATCH] increase TCP timeout to 5 sec --- src/Simplex/Messaging/Client.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Messaging/Client.hs b/src/Simplex/Messaging/Client.hs index 00cfc3b3b..e3f0858e0 100644 --- a/src/Simplex/Messaging/Client.hs +++ b/src/Simplex/Messaging/Client.hs @@ -112,7 +112,7 @@ smpDefaultConfig = SMPClientConfig { qSize = 64, defaultTransport = ("5223", transport @TLS), - tcpTimeout = 4_000_000, + tcpTimeout = 5_000_000, tcpKeepAlive = Just defaultKeepAliveOpts, smpPing = 300_000_000 -- 5 min }