切换cobar --modify by dengxinfei 2018.7.5
Showing
1 changed file
with
5 additions
and
7 deletions
@@ -8,14 +8,12 @@ datasources: | @@ -8,14 +8,12 @@ datasources: | ||
8 | maxConnections: 80 | 8 | maxConnections: 80 |
9 | 9 | ||
10 | yh_inbox: | 10 | yh_inbox: |
11 | - servers: | ||
12 | - - ${jdbc.mysql.yhmessage.master} | ||
13 | - - ${jdbc.mysql.yhmessage.slave} | ||
14 | - username: ${jdbc.mysql.yhmessage.username} | ||
15 | - password: ${jdbc.mysql.yhmessage.password} | 11 | + username: ${jdbc.mysql.cobar.username} |
12 | + password: ${jdbc.mysql.cobar.password} | ||
16 | cobar: true | 13 | cobar: true |
17 | - clusterName: platform | ||
18 | - maxConnections: 30 | 14 | + maxConnections: 80 |
15 | + minIdle: 20 | ||
16 | + maxIdle: 40 | ||
19 | daos: | 17 | daos: |
20 | - com.yoho.message.dal.InBoxMapper | 18 | - com.yoho.message.dal.InBoxMapper |
21 | 19 |
-
Please register or login to post a comment