diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-04-08 22:00:17 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-04-08 22:00:17 +0000 |
commit | 127566d49bfc9eafbde8b2ce8ca58c31a89ec4ab (patch) | |
tree | bcd4be7c6fbf870fac98537fcc72e614a5e3a7e3 /cpp/src | |
parent | sync with C++ (diff) | |
download | ice-127566d49bfc9eafbde8b2ce8ca58c31a89ec4ab.tar.bz2 ice-127566d49bfc9eafbde8b2ce8ca58c31a89ec4ab.tar.xz ice-127566d49bfc9eafbde8b2ce8ca58c31a89ec4ab.zip |
fix for bug 217
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Glacier2/Glacier2Router.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/Glacier2/Glacier2Router.cpp b/cpp/src/Glacier2/Glacier2Router.cpp index ab322df495d..b9361e21052 100644 --- a/cpp/src/Glacier2/Glacier2Router.cpp +++ b/cpp/src/Glacier2/Glacier2Router.cpp @@ -277,12 +277,13 @@ Glacier2::RouterService::initializeCommunicator(int& argc, char* argv[]) // No active connection management is permitted with // Glacier2. Connections must remain established. // - defaultProperties->setProperty("Ice.ConnectionIdleTime", "0"); + defaultProperties->setProperty("Ice.ACM.Client", "0"); + defaultProperties->setProperty("Ice.ACM.Server", "0"); // - // Ice.MonitorConnections defaults to Ice.ConnectionIdleTime, - // which we set to 0 above. However, we still want the - // connection monitor thread for AMI timeouts. We only set + // Ice.MonitorConnections defaults to the smaller of Ice.ACM.Client + // or Ice.ACM.Server, which we set to 0 above. However, we still want + // the connection monitor thread for AMI timeouts. We only set // this value if it hasn't been set explicitly already. // if(defaultProperties->getProperty("Ice.MonitorConnections").empty()) |