diff options
Diffstat (limited to 'cpp/src/IceGrid/IceGridNode.cpp')
-rw-r--r-- | cpp/src/IceGrid/IceGridNode.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/IceGridNode.cpp b/cpp/src/IceGrid/IceGridNode.cpp index 72f16891863..abd8efb0ad9 100644 --- a/cpp/src/IceGrid/IceGridNode.cpp +++ b/cpp/src/IceGrid/IceGridNode.cpp @@ -292,9 +292,13 @@ NodeService::start(int argc, char* argv[]) // termination listener instead? // properties->setProperty("Ice.ServerIdleTime", "0"); - if(properties->getPropertyAsIntWithDefault("Ice.ThreadPool.Server.Size", 5) <= 5) + if(properties->getPropertyAsIntWithDefault("Ice.ThreadPool.Server.Size", 10) <= 10) { - properties->setProperty("Ice.ThreadPool.Server.Size", "5"); + properties->setProperty("Ice.ThreadPool.Server.Size", "10"); + } + if(properties->getPropertyAsIntWithDefault("Ice.ThreadPool.Server.SizeMax", 100) <= 100) + { + properties->setProperty("Ice.ThreadPool.Server.SizeMax", "100"); } // |