SYNERGY-694 Reduce connection timeout to 2 seconds
This commit is contained in:
parent
79f8fbc5d9
commit
07edadc2e3
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ Client::setupTimer()
|
||||||
{
|
{
|
||||||
assert(m_timer == NULL);
|
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,
|
m_events->adoptHandler(Event::kTimer, m_timer,
|
||||||
new TMethodEventJob<Client>(this,
|
new TMethodEventJob<Client>(this,
|
||||||
&Client::handleConnectTimeout));
|
&Client::handleConnectTimeout));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue