From 07edadc2e340cada85abeb33e900b5863de723a4 Mon Sep 17 00:00:00 2001 From: Serhii Hadzhilov Date: Thu, 13 May 2021 16:20:54 +0300 Subject: [PATCH] SYNERGY-694 Reduce connection timeout to 2 seconds --- src/lib/client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp index 0f287125f4..f4385ae047 100644 --- a/src/lib/client/Client.cpp +++ b/src/lib/client/Client.cpp @@ -534,7 +534,7 @@ Client::setupTimer() { assert(m_timer == NULL); - m_timer = m_events->newOneShotTimer(15.0, NULL); + m_timer = m_events->newOneShotTimer(2.0, NULL); m_events->adoptHandler(Event::kTimer, m_timer, new TMethodEventJob(this, &Client::handleConnectTimeout));