increase TCP timeout to 5 sec

This commit is contained in:
Evgeny Poberezkin
2022-03-29 11:18:49 +01:00
parent 62acbc4ad4
commit b6e87e4a3e
+1 -1
View File
@@ -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
}