Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2019-01-09 14:05:47 +0000
committerAndrey Loskutov2019-01-09 14:29:53 +0000
commit23a1ba9b7bd355860c000fa16e4f8359054e35b6 (patch)
treeb99d0304c46fe00eeb60e731885d3c135e68003f /bundles/org.eclipse.osgi/container
parent79e672bcbfdb99bd8b26771d9cfa859e531a908a (diff)
downloadrt.equinox.framework-23a1ba9b7bd355860c000fa16e4f8359054e35b6.tar.gz
rt.equinox.framework-23a1ba9b7bd355860c000fa16e4f8359054e35b6.tar.xz
rt.equinox.framework-23a1ba9b7bd355860c000fa16e4f8359054e35b6.zip
Bug 541638 - Increase default value for osgi.module.lock.timeoutY20190109-2200S4_11_0_M1I20190109-1800
Increased default timeout fro 5 to 30 seconds. Change-Id: I228f94ba6d8f915b66ca5f4e12baab0ba7f55ef0 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'bundles/org.eclipse.osgi/container')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java
index 1372e0d55..89420d8ba 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java
@@ -141,7 +141,7 @@ public final class ModuleContainer implements DebugOptionsListener {
this.moduleDatabase = moduledataBase;
this.frameworkWiring = new ContainerWiring();
this.frameworkStartLevel = new ContainerStartLevel();
- long tempModuleLockTimeout = 5;
+ long tempModuleLockTimeout = 30;
String moduleLockTimeoutProp = adaptor.getProperty(EquinoxConfiguration.PROP_MODULE_LOCK_TIMEOUT);
if (moduleLockTimeoutProp != null) {
try {
@@ -151,7 +151,7 @@ public final class ModuleContainer implements DebugOptionsListener {
tempModuleLockTimeout = 1;
}
} catch (NumberFormatException e) {
- // will default to 5
+ // will default to 30
}
}
this.moduleLockTimeout = tempModuleLockTimeout;

Back to the top