summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-11-27 21:48:35 +0000
committerMarc Laukien <marc@zeroc.com>2002-11-27 21:48:35 +0000
commitc2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d (patch)
tree4825cb0dae9651fe2f0376ba63947de800aca5a7 /cpp/src/Ice/ThreadPool.cpp
parent- Added host attribute to DNSException (diff)
downloadice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.tar.bz2
ice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.tar.xz
ice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.zip
added ami
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index 77c640a8f11..530ad180f74 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -125,11 +125,11 @@ IceInternal::ThreadPool::ThreadPool(const InstancePtr& instance, bool server) :
if(server)
{
_timeout = _instance->properties()->getPropertyAsInt("Ice.ServerIdleTime");
- _threadNum = _instance->properties()->getPropertyAsIntWithDefault("Ice.ServerThreadPool.Size", 10);
+ _threadNum = _instance->properties()->getPropertyAsIntWithDefault("Ice.ThreadPool.Server.Size", 10);
}
else
{
- _threadNum = _instance->properties()->getPropertyAsIntWithDefault("Ice.ClientThreadPool.Size", 1);
+ _threadNum = _instance->properties()->getPropertyAsIntWithDefault("Ice.ThreadPool.Client.Size", 1);
}
if(_threadNum < 1)