summaryrefslogtreecommitdiff
path: root/qpid/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
commit9b4b4e7f0af23b49752583349df2086712fe2455 (patch)
tree848581b2fa35fc622b7fe33a63ec62ec5e57b0c1 /qpid/cpp/src/tests/qpid-cpp-benchmark
parentc121e4803971122f703730eb65c8d7bfdeec916f (diff)
downloadqpid-python-9b4b4e7f0af23b49752583349df2086712fe2455.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@1326757 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/qpid-cpp-benchmark')
-rwxr-xr-xqpid/cpp/src/tests/qpid-cpp-benchmark3
1 files changed, 0 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/qpid-cpp-benchmark b/qpid/cpp/src/tests/qpid-cpp-benchmark
index 1c649b333a..4bae1f38aa 100755
--- a/qpid/cpp/src/tests/qpid-cpp-benchmark
+++ b/qpid/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