34 lines
994 B
YAML
34 lines
994 B
YAML
server:
|
||
port: 8401
|
||
server:
|
||
undertow:
|
||
io-threads: 2
|
||
worker-threads: 200
|
||
buffer-size: 16384
|
||
direct-buffers: true
|
||
max-connections: 2000
|
||
queue-size: 100
|
||
no-request-timeout: 60000
|
||
connection-timeout: 60000
|
||
max-http-header-size: 8192
|
||
max-http-post-size: 200MB
|
||
management: #开启SpringBoot Admin的监控
|
||
endpoints:
|
||
web:
|
||
exposure:
|
||
include: "*" # 暴露xxx端点,如需暴露多个,用,分隔;如需暴露所有端点,用'*'
|
||
enabled-by-default: false
|
||
endpoint:
|
||
health:
|
||
show-details: ALWAYS # 是否展示健康检查详情
|
||
info: # info信息会显示到SpringBootAdmin的server端,这里取的是pom文件中的数据
|
||
version: @project.version@
|
||
groupId: @project.groupId@
|
||
artifactId: @project.artifactId@
|
||
feign:
|
||
okhttp:
|
||
enabled: true
|
||
ribbon:
|
||
ConnectTimeout: 60000 #服务请求连接超时时间(毫秒)
|
||
ReadTimeout: 60000 #服务请求处理超时时间(毫秒)
|