From e2b079386b19c34a26bb4a7c67bd002ebb9bdc94 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 18 Sep 2008 13:55:30 +0000 Subject: Refactor Cluster logic into separate handlers for Joining & Member modes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696657 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Cpg.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpp/src/qpid/cluster/Cpg.cpp') diff --git a/cpp/src/qpid/cluster/Cpg.cpp b/cpp/src/qpid/cluster/Cpg.cpp index 2a77fa437a..9b71e4235d 100644 --- a/cpp/src/qpid/cluster/Cpg.cpp +++ b/cpp/src/qpid/cluster/Cpg.cpp @@ -101,9 +101,7 @@ bool Cpg::isFlowControlEnabled() { return flowState == CPG_FLOW_CONTROL_ENABLED; } -// TODO aconway 2008-08-07: better handling of flow control. -// Wait for flow control to be disabled. -// FIXME aconway 2008-08-08: does flow control check involve a round-trip? If so maybe remove... +// FIXME aconway 2008-08-07: better handling of cpg flow control, no sleeping. void Cpg::waitForFlowControl() { int delayNs=1000; // one millisecond int tries=8; // double the delay on each try. -- cgit v1.2.1