SYNERGY-694 Reduce connection timeout to 2 seconds

This commit is contained in:
Serhii Hadzhilov 2021-05-13 16:20:54 +03:00
parent 79f8fbc5d9
commit 07edadc2e3

View File

@ -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<Client>(this,
&Client::handleConnectTimeout));