update 更新druid配置 独立配置更明显
This commit is contained in:
parent
1dfc9bbaa6
commit
b539939a90
|
@ -42,6 +42,10 @@ spring:
|
||||||
testOnReturn: false
|
testOnReturn: false
|
||||||
# 注意这个值和druid原生不一致,默认启动了stat
|
# 注意这个值和druid原生不一致,默认启动了stat
|
||||||
filters: stat
|
filters: stat
|
||||||
|
|
||||||
|
--- # druid 配置
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
webStatFilter:
|
webStatFilter:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -63,7 +67,9 @@ spring:
|
||||||
wall:
|
wall:
|
||||||
config:
|
config:
|
||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
# redis 配置
|
|
||||||
|
--- # redis 配置
|
||||||
|
spring:
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: localhost
|
host: localhost
|
||||||
|
@ -78,7 +84,6 @@ spring:
|
||||||
# 是否开启ssl
|
# 是否开启ssl
|
||||||
ssl: false
|
ssl: false
|
||||||
|
|
||||||
--- # redisson 客户端配置
|
|
||||||
redisson:
|
redisson:
|
||||||
# 线程池数量
|
# 线程池数量
|
||||||
threads: 16
|
threads: 16
|
||||||
|
|
|
@ -42,6 +42,10 @@ spring:
|
||||||
testOnReturn: false
|
testOnReturn: false
|
||||||
# 注意这个值和druid原生不一致,默认启动了stat
|
# 注意这个值和druid原生不一致,默认启动了stat
|
||||||
filters: stat
|
filters: stat
|
||||||
|
|
||||||
|
--- # druid 配置
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
webStatFilter:
|
webStatFilter:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -63,7 +67,9 @@ spring:
|
||||||
wall:
|
wall:
|
||||||
config:
|
config:
|
||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
# redis 配置
|
|
||||||
|
--- # redis 配置
|
||||||
|
spring:
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: 172.30.0.48
|
host: 172.30.0.48
|
||||||
|
@ -78,7 +84,6 @@ spring:
|
||||||
# 是否开启ssl
|
# 是否开启ssl
|
||||||
ssl: false
|
ssl: false
|
||||||
|
|
||||||
--- # redisson 客户端配置
|
|
||||||
redisson:
|
redisson:
|
||||||
# 线程池数量
|
# 线程池数量
|
||||||
threads: 16
|
threads: 16
|
||||||
|
|
Loading…
Reference in New Issue