diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-04-23 09:35:24 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-04-23 09:35:24 -0230 |
commit | f4c1d2eabfec5cd0232009b57b78b471e5fa6889 (patch) | |
tree | 532ab10abde644a0bd1b3d84838a8d65395ee718 /java/src | |
parent | Bug 3969 - minimal demo should still parse command line arguments (diff) | |
download | ice-f4c1d2eabfec5cd0232009b57b78b471e5fa6889.tar.bz2 ice-f4c1d2eabfec5cd0232009b57b78b471e5fa6889.tar.xz ice-f4c1d2eabfec5cd0232009b57b78b471e5fa6889.zip |
Bugs 3002/3003 - default value of SizeWarn is now 0
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/IceInternal/ThreadPool.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/IceInternal/ThreadPool.java b/java/src/IceInternal/ThreadPool.java index 63fc26e09eb..6c341456afd 100644 --- a/java/src/IceInternal/ThreadPool.java +++ b/java/src/IceInternal/ThreadPool.java @@ -67,8 +67,7 @@ public final class ThreadPool sizeMax = size; } - int sizeWarn = _instance.initializationData().properties.getPropertyAsIntWithDefault( - _prefix + ".SizeWarn", sizeMax * 80 / 100); + int sizeWarn = _instance.initializationData().properties.getPropertyAsInt( _prefix + ".SizeWarn"); if(sizeWarn > sizeMax) { String s = _prefix + ".SizeWarn > " + _prefix + ".SizeMax; adjusted SizeWarn to SizeMax (" + sizeMax + ")"; |