mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-21 07:55:24 +02:00
[220123][dstore] Configurable timeout on irresponsiveness
This commit is contained in:
parent
f22da1c871
commit
fa2e6758cc
1 changed files with 2 additions and 2 deletions
|
@ -357,12 +357,12 @@ public class XMLparser
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (_kart == null){
|
if (_kart == null || !_kart.isAlive()){
|
||||||
_kart = new KeepAliveRequestThread(KEEPALIVE_RESPONSE_TIMEOUT);
|
_kart = new KeepAliveRequestThread(KEEPALIVE_RESPONSE_TIMEOUT);
|
||||||
if (VERBOSE_KEEPALIVE) System.out.println("No activity on socket. KeepAlive thread started."); //$NON-NLS-1$
|
if (VERBOSE_KEEPALIVE) System.out.println("No activity on socket. KeepAlive thread started."); //$NON-NLS-1$
|
||||||
_kart.start();
|
_kart.start();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue