diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-03-06 10:13:42 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-03-06 10:13:42 +0100 |
commit | c6dbd090d9691cc0116a2967b2827b858b184dfe (patch) | |
tree | 6d2ad80c98665c9090b16f97c400ab4b33c7ab73 /cpp/src/Ice/ReferenceFactory.cpp | |
parent | Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff) | |
download | ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.bz2 ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.xz ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.zip |
Removed thread-per-connection and added serialize mode
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ReferenceFactory.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp index c97fa9158d0..2669db55f88 100644 --- a/cpp/src/Ice/ReferenceFactory.cpp +++ b/cpp/src/Ice/ReferenceFactory.cpp @@ -657,8 +657,7 @@ IceInternal::ReferenceFactory::checkForUnknownProperties(const string& prefix) "LocatorCacheTimeout", "Locator", "Router", - "CollocationOptimized", - "ThreadPerConnection" + "CollocationOptimized" }; // @@ -725,7 +724,6 @@ IceInternal::ReferenceFactory::create(const Identity& ident, bool cacheConnection = true; bool preferSecure = defaultsAndOverrides->defaultPreferSecure; Ice::EndpointSelectionType endpointSelection = defaultsAndOverrides->defaultEndpointSelection; - bool threadPerConnection = _instance->threadPerConnection(); int locatorCacheTimeout = defaultsAndOverrides->defaultLocatorCacheTimeout; // @@ -793,9 +791,6 @@ IceInternal::ReferenceFactory::create(const Identity& ident, } } - property = propertyPrefix + ".ThreadPerConnection"; - threadPerConnection = properties->getPropertyAsIntWithDefault(property, threadPerConnection) > 0; - property = propertyPrefix + ".LocatorCacheTimeout"; locatorCacheTimeout = properties->getPropertyAsIntWithDefault(property, locatorCacheTimeout); } @@ -818,7 +813,6 @@ IceInternal::ReferenceFactory::create(const Identity& ident, cacheConnection, preferSecure, endpointSelection, - threadPerConnection, locatorCacheTimeout); } |