summaryrefslogtreecommitdiff
path: root/cpp/xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-05-26 21:41:52 +0000
committerAlan Conway <aconway@apache.org>2009-05-26 21:41:52 +0000
commit0c30ca90a6820dd152677c3c0966a6a20fd377bb (patch)
treed643b8ec8869d94c9baef34e64c884fff6656cab /cpp/xml
parent5ce2eb3ccdfe0b90436b6095b0498d59f9057de0 (diff)
downloadqpid-python-0c30ca90a6820dd152677c3c0966a6a20fd377bb.tar.gz
Improved doOutput algorithm.
Simpler & more robust algorithm based on message count rather than byte size. Self-tuning, removes 2 hard-to-explain cluster options. Similar or marginally better performance. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/xml')
-rw-r--r--cpp/xml/cluster.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/xml/cluster.xml b/cpp/xml/cluster.xml
index df90fc6f82..f66c7a7791 100644
--- a/cpp/xml/cluster.xml
+++ b/cpp/xml/cluster.xml
@@ -74,7 +74,7 @@
<control name="deliver-close" code="0x2"/>
<control name="deliver-do-output" code="0x3">
- <field name="bytes" type="uint32"/>
+ <field name="limit" type="uint32"/>
</control>
<!-- Update controls. Sent to a new broker in joining mode.
@@ -139,6 +139,7 @@
<field name="connection-id" type="uint64"/>
<field name="user-name" type="str8"/>
<field name="fragment" type="str32"/>
+ <field name="send-max" type="uint32"/>
</control>
<!-- Complete a cluster state update. -->