mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-04 21:04:59 +08:00
SYNERGY-694 Reduce connection timeout to 2 seconds
This commit is contained in:
parent
79f8fbc5d9
commit
07edadc2e3
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user