🔨 规范化配置.

This commit is contained in:
lijiahang
2024-06-11 11:12:44 +08:00
parent 2bd7dfd5b8
commit ab1d4ed97f
6 changed files with 78 additions and 22 deletions

View File

@@ -40,13 +40,14 @@ spring:
# 最大生存的时间
max-evictable-idle-time-millis: 900000
validation-query: SELECT 1
web-stat-filter:
enabled: true
# 控制台
stat-view-servlet:
enabled: true
url-pattern: /druid/*
login-username:
login-password:
web-stat-filter:
enabled: true
filter:
stat:
enabled: true
@@ -88,7 +89,7 @@ spring:
misfireThreshold: 60000
clusterCheckinInterval: 5000
isClustered: true
#连接池
# 连接池
threadPool:
class: org.quartz.simpl.SimpleThreadPool
threadCount: 5
@@ -98,12 +99,16 @@ spring:
admin:
context-path: /admin
client:
enabled: true
url: http://127.0.0.1:${server.port}/${spring.boot.admin.context-path}
instance:
service-host-type: IP
server:
enabled: true
management:
endpoints:
enabled-by-default: true
web:
base-path: /actuator
exposure: