diff options
| author | Alan Conway <aconway@apache.org> | 2009-08-06 17:41:18 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-08-06 17:41:18 +0000 |
| commit | 1af1e0114b71a366dc78a47c3d63833f1a0b4c8a (patch) | |
| tree | 85488c593a8d165641d45035d16a78ae402fbdea /cpp/src/qpid/cluster/Cpg.cpp | |
| parent | 7ffe1a63bfdbf071ca4e3b1f31e66182caa90873 (diff) | |
| download | qpid-python-1af1e0114b71a366dc78a47c3d63833f1a0b4c8a.tar.gz | |
Fix cman integration to exit immediately on loss of quorum.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801740 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cpg.cpp')
| -rw-r--r-- | cpp/src/qpid/cluster/Cpg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Cpg.cpp b/cpp/src/qpid/cluster/Cpg.cpp index 5dbf057d0f..02411e6e9f 100644 --- a/cpp/src/qpid/cluster/Cpg.cpp +++ b/cpp/src/qpid/cluster/Cpg.cpp @@ -105,7 +105,7 @@ Cpg::Cpg(Handler& h) : IOHandle(new sys::IOHandlePrivate), handler(h), isShutdow QPID_LOG(info, "Initializing CPG"); cpg_error_t err = cpg_initialize(&handle, &callbacks); - int retries = 6; + int retries = 6; // FIXME aconway 2009-08-06: configure, use same config for cman connection. while (err == CPG_ERR_TRY_AGAIN && --retries) { QPID_LOG(notice, "Re-trying CPG initialization."); sys::sleep(5); |
