commit | 89eefa51c4b920dd3a15692c1d7c13bd809211c8 | [log] [tgz] |
---|---|---|
author | asobolev <asobolev> | Tue Aug 04 06:53:28 2009 +0000 |
committer | asobolev <asobolev> | Tue Aug 04 06:53:28 2009 +0000 |
tree | e57871b4218cb7a196809c59691bb00d48f140c3 | |
parent | a62dbc06d4181afdc888ee392827f72fb26f7f43 [diff] |
* Connection wait timeout set to 10 seconds. Dialog to user will be shown in any case.
diff --git a/rse/plugins/org.eclipse.dltk.rse.core/src/org/eclipse/dltk/core/internal/rse/RSEConnectionQueryManager.java b/rse/plugins/org.eclipse.dltk.rse.core/src/org/eclipse/dltk/core/internal/rse/RSEConnectionQueryManager.java index dfa906a..b8dee08 100644 --- a/rse/plugins/org.eclipse.dltk.rse.core/src/org/eclipse/dltk/core/internal/rse/RSEConnectionQueryManager.java +++ b/rse/plugins/org.eclipse.dltk.rse.core/src/org/eclipse/dltk/core/internal/rse/RSEConnectionQueryManager.java
@@ -22,7 +22,7 @@ /** * 5 minutes for connection to be established. */ - private static final long CONNECTION_TIMEOUT = 1000 * 60 * 2; + private static final long CONNECTION_TIMEOUT = 1000 * 10; // ten seconds. private static RSEConnectionQueryManager queryManager = null; @@ -178,7 +178,8 @@ requests.wait(100); long currentTime = System.currentTimeMillis(); if (currentTime > endTime) { - markHostAsFinished(host); + // Just break + // markHostAsFinished(host); break; } } catch (InterruptedException e) {