From 7d1fdadef0541e0587d4966bc95c2930bf0f95ff Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Fri, 25 Feb 2022 10:57:23 +0000 Subject: [PATCH] reduce connection handshake expiration to 2 days --- src/Simplex/Messaging/Agent/Env/SQLite.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Messaging/Agent/Env/SQLite.hs b/src/Simplex/Messaging/Agent/Env/SQLite.hs index 29377da25..ba54d00bc 100644 --- a/src/Simplex/Messaging/Agent/Env/SQLite.hs +++ b/src/Simplex/Messaging/Agent/Env/SQLite.hs @@ -62,7 +62,7 @@ defaultAgentConfig = increaseAfter = 10 * second, maxInterval = 10 * second }, - helloTimeout = 7 * nominalDay, + helloTimeout = 2 * nominalDay, -- CA certificate private key is not needed for initialization -- ! we do not generate these caCertificateFile = "/etc/opt/simplex-agent/ca.crt",