Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Lindberg2009-05-11 10:25:27 -0400
committerHenrik Lindberg2009-05-11 10:25:27 -0400
commitb48c51d625e81e91fcb09cae90f50ed23c489ca6 (patch)
tree7227c7457ec1fa7f5ccb9f13bacbddc9a75c4095
parent519d5c98e23c5900d1725626b7b9bc01099ff20e (diff)
downloadrt.equinox.p2-b48c51d625e81e91fcb09cae90f50ed23c489ca6.tar.gz
rt.equinox.p2-b48c51d625e81e91fcb09cae90f50ed23c489ca6.tar.xz
rt.equinox.p2-b48c51d625e81e91fcb09cae90f50ed23c489ca6.zip
Changed timout to 10 minutes instead of 60. 10 minutes is enough as p2 has 2 minutes timeout. With 60 minute timeout, too many threads are locked up for too long.
-rw-r--r--bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/servlets/TimeOut.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/servlets/TimeOut.java b/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/servlets/TimeOut.java
index ea56102bb..e5544cd91 100644
--- a/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/servlets/TimeOut.java
+++ b/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/servlets/TimeOut.java
@@ -31,7 +31,7 @@ public class TimeOut extends HttpServlet {
private void doDelay() {
// Do nothing...
try {
- Thread.sleep(60 * MINUTES_MS); // sleep 1 hour
+ Thread.sleep(10 * MINUTES_MS); // sleep 10 minutes
} catch (InterruptedException e) {
e.printStackTrace();
}

Back to the top