mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +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
|
||||
{
|
||||
if (_kart == null){
|
||||
if (_kart == null || !_kart.isAlive()){
|
||||
_kart = new KeepAliveRequestThread(KEEPALIVE_RESPONSE_TIMEOUT);
|
||||
if (VERBOSE_KEEPALIVE) System.out.println("No activity on socket. KeepAlive thread started."); //$NON-NLS-1$
|
||||
_kart.start();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue