1
0
Fork 0
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:
David McKnight 2008-03-10 19:15:32 +00:00
parent f22da1c871
commit fa2e6758cc

View file

@ -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;
} }
} }
} }
} }