summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/IceGridRegistry.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-06-17 15:25:02 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-06-17 15:25:02 +0000
commit2bc0f2b81423bb51c8649fefdeae23c602a56558 (patch)
treeda5dc69eda441fe23345267d1606da5266413f94 /cpp/src/IceGrid/IceGridRegistry.cpp
parentbuild fix (diff)
downloadice-2bc0f2b81423bb51c8649fefdeae23c602a56558.tar.bz2
ice-2bc0f2b81423bb51c8649fefdeae23c602a56558.tar.xz
ice-2bc0f2b81423bb51c8649fefdeae23c602a56558.zip
Fixed bugs + added "update" test suite
Diffstat (limited to 'cpp/src/IceGrid/IceGridRegistry.cpp')
-rw-r--r--cpp/src/IceGrid/IceGridRegistry.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/IceGridRegistry.cpp b/cpp/src/IceGrid/IceGridRegistry.cpp
index c3f4d36f1d0..1e0434daf0e 100644
--- a/cpp/src/IceGrid/IceGridRegistry.cpp
+++ b/cpp/src/IceGrid/IceGridRegistry.cpp
@@ -84,6 +84,12 @@ RegistryService::start(int argc, char* argv[])
return false;
}
+ PropertiesPtr properties = communicator()->getProperties();
+ if(properties->getPropertyAsIntWithDefault("Ice.ThreadPool.Server.Size", 5) <= 5)
+ {
+ properties->setProperty("Ice.ThreadPool.Server.Size", "5");
+ }
+
_registry = new RegistryI(communicator());
if(!_registry->start(nowarn))
{