summaryrefslogtreecommitdiff
path: root/cpp/src/tests/qpid-cpp-benchmark
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-04-16 19:20:40 +0000
committerAlan Conway <aconway@apache.org>2012-04-16 19:20:40 +0000
commite9ec116c6b898a81c58d581af6bb16dcda3ab16f (patch)
treec23c0a37015384374bdc049b60f6095d63070e95 /cpp/src/tests/qpid-cpp-benchmark
parent3798363648334e04dfbd9ee73aee4c9de1bcd58d (diff)
downloadqpid-python-e9ec116c6b898a81c58d581af6bb16dcda3ab16f.tar.gz
NO-JIRA: Removed useless flow control code from qpid-send.
This code serves no purpose now that qpidd has producer flow control. Removed it to simplify the tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1326757 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/qpid-cpp-benchmark')
-rwxr-xr-xcpp/src/tests/qpid-cpp-benchmark3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpp/src/tests/qpid-cpp-benchmark b/cpp/src/tests/qpid-cpp-benchmark
index 1c649b333a..4bae1f38aa 100755
--- a/cpp/src/tests/qpid-cpp-benchmark
+++ b/cpp/src/tests/qpid-cpp-benchmark
@@ -67,8 +67,6 @@ op.add_option("--sequence", dest="sequence", default=False,
action="store_true", help="add a sequence number to each message")
op.add_option("--connection-options", type="str",
help="Connection options for senders & receivers")
-op.add_option("--flow-control", default=0, type="int", metavar="N",
- help="Flow control each sender to limit queue depth to 2*N. 0 means no flow control.")
op.add_option("--durable", default=False, action="store_true",
help="Use durable queues and messages")
op.add_option("--save-received", default=False, action="store_true",
@@ -150,7 +148,6 @@ def start_send(queue, opts, broker, host):
"--report-header=no",
"--timestamp=%s"%(opts.timestamp and "yes" or "no"),
"--sequence=%s"%(opts.sequence and "yes" or "no"),
- "--flow-control", str(opts.flow_control),
"--durable", str(opts.durable)
]
command += opts.send_arg