mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 04:15:22 +00:00
perf[module]: 优化了net-1.0.xsd中默认为hash一致性 调整下xsd文件中protocol-module和provider顺序
This commit is contained in:
1 parent
4528d3af26
commit
b4f60ecc9e
1 file changed
+2
-2
@@ -27,7 +27,7 @@
|
||||
<xsd:sequence>
|
||||
<xsd:element name="provider" maxOccurs="unbounded" type="providerAttributeType" minOccurs="0"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="task-dispatch" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="task-dispatch" type="xsd:string" default="consistent-hash"/>
|
||||
<xsd:attribute name="thread" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="address" type="xsd:string" use="optional"/>
|
||||
</xsd:complexType>
|
||||
@@ -39,8 +39,8 @@
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="providerAttributeType">
|
||||
<xsd:attribute name="provider" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="protocol-module" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="provider" type="xsd:string" use="required"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="consumerAttributeType">
|
||||
|
||||
Reference in new issue
Block a user