core: tcp keep-alive parameters for windows (#336)

This commit is contained in:
Evgeny Poberezkin
2022-03-26 13:11:29 +00:00
committed by GitHub
parent 14d76a1582
commit 800581b2bf
2 changed files with 34 additions and 14 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ smpDefaultConfig =
defaultTransport = ("5223", transport @TLS),
tcpTimeout = 4_000_000,
tcpKeepAlive = Just defaultKeepAliveOpts,
smpPing = 1_200_000_000 -- 20min
smpPing = 600_000_000 -- 10min
}
data Request = Request