summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/DtxManager.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-08-26 21:12:54 +0000
committerAlan Conway <aconway@apache.org>2010-08-26 21:12:54 +0000
commitf32145824299cc519690c700bd5ea8117d4c675b (patch)
treecf883fe9c82498246e352ecb3a18942429d66083 /cpp/src/qpid/broker/DtxManager.cpp
parent9c5d0cf2197a7d8901d3cc2793eb630f17d0d3ee (diff)
downloadqpid-python-f32145824299cc519690c700bd5ea8117d4c675b.tar.gz
Give timer tasks a name for logging purposes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989925 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/DtxManager.cpp')
-rw-r--r--cpp/src/qpid/broker/DtxManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/DtxManager.cpp b/cpp/src/qpid/broker/DtxManager.cpp
index a2ab20ec44..3caa41c3f4 100644
--- a/cpp/src/qpid/broker/DtxManager.cpp
+++ b/cpp/src/qpid/broker/DtxManager.cpp
@@ -154,7 +154,7 @@ void DtxManager::timedout(const std::string& xid)
}
DtxManager::DtxCleanup::DtxCleanup(uint32_t _timeout, DtxManager& _mgr, const std::string& _xid)
- : TimerTask(qpid::sys::Duration(_timeout * qpid::sys::TIME_SEC)), mgr(_mgr), xid(_xid) {}
+ : TimerTask(qpid::sys::Duration(_timeout * qpid::sys::TIME_SEC),"DtxCleanup"), mgr(_mgr), xid(_xid) {}
void DtxManager::DtxCleanup::fire()
{