diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-06-08 18:06:09 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-06-08 18:06:09 +0000 |
commit | 5fe7eb38df0c0e205e9663ac6056aeef2ac0bc8b (patch) | |
tree | 4b065b777b33aba248c216bc4593a2519a5f11b8 /cpp/src | |
parent | 3f6bd06a2515603d1b4f0133e529919b6d9a30e7 (diff) | |
download | qpid-python-5fe7eb38df0c0e205e9663ac6056aeef2ac0bc8b.tar.gz |
YA Fix to the cluster behaviour of the client heartbeat
(non) detection code
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/cluster/OutputInterceptor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/OutputInterceptor.cpp b/cpp/src/qpid/cluster/OutputInterceptor.cpp index b5fa595577..ef99058471 100644 --- a/cpp/src/qpid/cluster/OutputInterceptor.cpp +++ b/cpp/src/qpid/cluster/OutputInterceptor.cpp @@ -66,7 +66,9 @@ void OutputInterceptor::activateOutput() { void OutputInterceptor::abort() { sys::Mutex::ScopedLock l(lock); - next->abort(); + if (parent.isLocal()) { + next->abort(); + } } void OutputInterceptor::giveReadCredit(int32_t credit) { |