@@ -10,7 +10,7 @@ spring:
primary: master
datasource:
master:
- url: jdbc:mysql://172.18.74.114:3306/callcenterdb2.0?useUnicode=true&autoReconnect=true&failOverReadOnly=false&characterEncoding=utf-8
+ url: jdbc:mysql://172.18.74.114:3306/callcenterdb2.0?useUnicode=true&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&characterEncoding=utf-8
username: root
password: admin01
max-idle: 10