summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Broker.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-07-03 09:04:00 +0000
committerGordon Sim <gsim@apache.org>2007-07-03 09:04:00 +0000
commite7f82f3d5b39c77ee913ee4cd6b4bf1bdc8b13bc (patch)
tree287e8ce31be4594915c577045025b466d969d17b /cpp/src/qpid/broker/Broker.cpp
parent953eb74e69055777252ec05e1c277ec32fed82d0 (diff)
downloadqpid-python-e7f82f3d5b39c77ee913ee4cd6b4bf1bdc8b13bc.tar.gz
Autodeletable shared queues are now deleted as soon as the consumer count drops to zero (i.e. there is no timeout).
This closes QPID-533. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@552751 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Broker.cpp')
-rw-r--r--cpp/src/qpid/broker/Broker.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp
index 7c96322f02..43a5567b3d 100644
--- a/cpp/src/qpid/broker/Broker.cpp
+++ b/cpp/src/qpid/broker/Broker.cpp
@@ -80,9 +80,7 @@ Broker::Broker(const Broker::Options& conf) :
config(conf),
store(createStore(conf)),
queues(store.get()),
- timeout(30000),
stagingThreshold(0),
- cleaner(&queues, 100), // clean every 100 auto delete declares.
factory(*this),
dtxManager(store.get())
{
@@ -127,7 +125,6 @@ void Broker::run() {
void Broker::shutdown() {
if (acceptor)
acceptor->shutdown();
-//cct cleaner.cleanNow(); // do we need to delete on close?
}
Broker::~Broker() {