diff options
Diffstat (limited to 'cpp/demo/IceStorm/replicated/Publisher.cpp')
-rw-r--r-- | cpp/demo/IceStorm/replicated/Publisher.cpp | 6 |
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 { |