Authored by tanling

cobar代理

... ... @@ -31,10 +31,14 @@ datasources:
yh_unions:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
- 127.0.0.1:8066
- 127.0.0.1:8066
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yoho.unions.dal.IUserOrdersDAO
- com.yoho.unions.dal.IUnionTypeDAO
... ...
... ... @@ -32,10 +32,16 @@ datasources:
yh_unions:
servers:
- ${jdbc.mysql.unions.master}
- ${jdbc.mysql.unions.slave}
username: ${jdbc.mysql.unions.username}
password: ${jdbc.mysql.unions.password}
- ${jdbc.mysql.dncmssplit.master}
- ${jdbc.mysql.dncmssplit.slave}
- ${jdbc.mysql.dncmssplit.slave2}
- ${jdbc.mysql.dncmssplit.slave3}
username: ${jdbc.mysql.dncmssplit.username}
password: ${jdbc.mysql.dncmssplit.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yoho.unions.dal.IUserOrdersDAO
- com.yoho.unions.dal.IUnionTypeDAO
... ...