summaryrefslogtreecommitdiff
path: root/cpp/demo/IceStorm/replicated/Publisher.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-03-13 15:05:05 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-03-13 15:05:05 +0000
commit3c4e6bf7bd37adf9922291497c3bec7afc92d5a7 (patch)
tree49863fb95915ef381f6b645b4e27d10fc21d8412 /cpp/demo/IceStorm/replicated/Publisher.cpp
parentBug 2020 - clean shutdown (diff)
downloadice-3c4e6bf7bd37adf9922291497c3bec7afc92d5a7.tar.bz2
ice-3c4e6bf7bd37adf9922291497c3bec7afc92d5a7.tar.xz
ice-3c4e6bf7bd37adf9922291497c3bec7afc92d5a7.zip
Bug 1990
Diffstat (limited to 'cpp/demo/IceStorm/replicated/Publisher.cpp')
-rw-r--r--cpp/demo/IceStorm/replicated/Publisher.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/demo/IceStorm/replicated/Publisher.cpp b/cpp/demo/IceStorm/replicated/Publisher.cpp
index 76c35250c1c..7be94ee3f41 100644
--- a/cpp/demo/IceStorm/replicated/Publisher.cpp
+++ b/cpp/demo/IceStorm/replicated/Publisher.cpp
@@ -63,11 +63,9 @@ Publisher::run(int argc, char* argv[])
//
// Get the topic's publisher object, and configure a Clock proxy
- // with per-request load balancing with round robin from the
- // IceGrid locator for the publisher object.
+ // with per-request load balancing.
//
- ClockPrx clock = ClockPrx::uncheckedCast(
- topic->getPublisher()->ice_oneway()->ice_locatorCacheTimeout(0)->ice_connectionCached(false));
+ ClockPrx clock = ClockPrx::uncheckedCast(topic->getPublisher()->ice_oneway()->ice_connectionCached(false));
try
{