summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Broker.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-11-27 21:23:22 +0000
committerAlan Conway <aconway@apache.org>2007-11-27 21:23:22 +0000
commit3d6a67e8ba5a0de453af9ab2e21422b3906b6897 (patch)
tree05e966f24272d7044f160a09f9659c12c916f0e9 /cpp/src/qpid/broker/Broker.cpp
parent43e9a596bf6089e7a2c6949c522e353e6ff59544 (diff)
downloadqpid-python-3d6a67e8ba5a0de453af9ab2e21422b3906b6897.tar.gz
perftest improvements.
NOTE: options have changed, see perftest --help. - Supports multiple publishers. - Subscribers set credit to receive exactly the expected no. of messages. - All transfers unconfirmed by default. client/Connector.cpp: Added connector ID to RECV/SENT logging client/Completion.h: Added default ctor. broker/Broker.cpp: --ack defaults to 0 - session acks disabled. client/SessionCore.cpp: Ignore surplus frames in CLOSING state. log/Options.cpp: By default log to stdout instead of stderr. Easier to grep. framing/AMQContentBody.h: Log message content even in NDEBUG mode. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@598770 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Broker.cpp')
-rw-r--r--cpp/src/qpid/broker/Broker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp
index 4e22cb7352..e10f33e426 100644
--- a/cpp/src/qpid/broker/Broker.cpp
+++ b/cpp/src/qpid/broker/Broker.cpp
@@ -74,7 +74,7 @@ Broker::Options::Options(const std::string& name) :
storeForce(false),
enableMgmt(0),
mgmtPubInterval(10),
- ack(100)
+ ack(0)
{
int c = sys::SystemInfo::concurrency();
if (c > 0) workerThreads=c;
@@ -102,7 +102,7 @@ Broker::Options::Options(const std::string& name) :
("mgmt-pub-interval", optValue(mgmtPubInterval, "SECONDS"),
"Management Publish Interval")
("ack", optValue(ack, "N"),
- "Send ack/solicit-ack at least every N frames. 0 disables voluntary acks/solitict-ack");
+ "Send session.ack/solicit-ack at least every N frames. 0 disables voluntary ack/solitict-ack");
}
const std::string empty;