2025-02-09 12:48:19 +08:00
|
|
|
server:
|
|
|
|
port: 8000
|
|
|
|
spring:
|
|
|
|
application:
|
2025-02-09 19:07:05 +08:00
|
|
|
name: service-cloud1
|
2025-02-09 18:15:30 +08:00
|
|
|
profiles:
|
2025-02-09 19:07:05 +08:00
|
|
|
active: dev
|
2025-02-09 19:29:57 +08:00
|
|
|
cloud:
|
|
|
|
openfeign:
|
|
|
|
client:
|
|
|
|
config:
|
|
|
|
service-cloud1: # 针对自己的这个配置
|
|
|
|
logger-level: full
|
|
|
|
connect-timeout: 3000
|
|
|
|
read-timeout: 5000
|
|
|
|
default: # 针对默认配置
|
|
|
|
logger-level: full
|
|
|
|
connect-timeout: 3000
|
|
|
|
read-timeout: 5000
|
|
|
|
compression:
|
|
|
|
# 压缩请求
|
|
|
|
request:
|
|
|
|
enabled: true
|
|
|
|
min-request-size: 4096 # 压缩最小值 为4096 = 4KB
|
|
|
|
# 压缩响应请求
|
|
|
|
response:
|
2025-02-09 19:48:58 +08:00
|
|
|
enabled: true
|
|
|
|
# main:
|
|
|
|
# allow-bean-definition-overriding: true
|