Skip to content

Commit 542e71d

Browse files
committed
remove useless config
1 parent fbc8a66 commit 542e71d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/resources/schema_template.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@
3030
<dataNode name="dn2" dataHost="localhost1" database="db2"/>
3131
<dataNode name="dn3" dataHost="localhost1" database="db3"/>
3232
<dataNode name="dn4" dataHost="localhost1" database="db4"/>
33-
<dataHost name="localhost1" maxCon="1000" minCon="10" balance="0"
34-
writeType="0" switchType="1" slaveThreshold="100">
35-
<heartbeat>select user()</heartbeat>
33+
<dataHost name="localhost1" maxCon="1000" minCon="10" balance="0" switchType="-1" slaveThreshold="100">
34+
<heartbeat>show slave status</heartbeat>
3635
<!-- can have multi write hosts -->
3736
<writeHost host="hostM1" url="localhost:3306" user="root"
3837
password="123456">

0 commit comments

Comments
 (0)