|
@@ -21,8 +21,8 @@ spring:
|
21
|
21
|
datasource:
|
22
|
22
|
master:
|
23
|
23
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
24
|
|
-# url: jdbc:mysql://39.105.121.97:13306/scy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
|
25
|
|
- url: jdbc:mysql://192.168.3.19:13306/scy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
|
|
24
|
+ url: jdbc:mysql://39.105.121.97:13306/scy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
|
|
25
|
+# url: jdbc:mysql://192.168.3.19:13306/scy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
|
26
|
26
|
username: root
|
27
|
27
|
# password: Eitc@gnhz702
|
28
|
28
|
password: Eitc@gnhz702
|
|
@@ -32,7 +32,7 @@ spring:
|
32
|
32
|
timeout: 30000 # 连接超时时间(毫秒)
|
33
|
33
|
jedis:
|
34
|
34
|
pool:
|
35
|
|
- max-idle: 8 # 连接池中的最大空闲连接=8
|
|
35
|
+ max-idle: 2 # 连接池中的最大空闲连接=8
|
36
|
36
|
min-idle: 0
|
37
|
37
|
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
38
|
38
|
max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
|