diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-08-17 08:40:58 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-08-17 08:40:58 +0000 |
commit | 4a2274d7af953f5f9c77f4c17cd78239c7799cb6 (patch) | |
tree | 84b1ebfcdd35708d6c3880c3b6893523dd9fb630 /cpp/src/IceGrid/Database.cpp | |
parent | build with optimization (diff) | |
download | ice-4a2274d7af953f5f9c77f4c17cd78239c7799cb6.tar.bz2 ice-4a2274d7af953f5f9c77f4c17cd78239c7799cb6.tar.xz ice-4a2274d7af953f5f9c77f4c17cd78239c7799cb6.zip |
Changed load balancing policy from an enum to a class type, minor cleanup.
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index 320129a19b5..d497af32cdb 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -464,14 +464,7 @@ Database::removeNode(const string& name) { _nodeCache.get(name)->setSession(0); - try - { - _nodeObserver->nodeDown(name); - } - catch(const Ice::LocalException&) - { - // TODO: Log a warning? - } + _nodeObserver->nodeDown(name); } Ice::StringSeq @@ -614,11 +607,6 @@ AdapterPrx Database::getAdapter(const string& id, const string& serverId) { // - // TODO: Perhaps we should also cache the adapter proxies here - // instead of doing multiple lookups. - // - - // // First we check if the given adapter id is associated to a // server, if that's the case we get the adapter proxy from the // server. |