mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-24 11:28:39 +08:00
[重大更新] 使用 spring feign 替代 HttpServiceClient (功能太新 支持不完全 使用成本太高)
This commit is contained in:
@@ -9,20 +9,10 @@ server:
|
||||
# 最大线程数
|
||||
max: 256
|
||||
|
||||
remote:
|
||||
http:
|
||||
# 远程接口扫描范围,支持 Ant 风格包路径
|
||||
scan-packages:
|
||||
- org.dromara.**.api
|
||||
# 全局请求log
|
||||
request-log: true
|
||||
# info 基础信息 param 参数信息 full 全部
|
||||
log-level: info
|
||||
|
||||
spring:
|
||||
http:
|
||||
clients:
|
||||
# 默认 client HTTP 请求超时,供 RestClient / HTTP Service Client 复用
|
||||
# Spring HTTP 客户端默认超时配置,供非 Feign 客户端复用
|
||||
connect-timeout: 3s
|
||||
read-timeout: 10s
|
||||
imperative:
|
||||
@@ -66,6 +56,9 @@ spring:
|
||||
# 允许对象忽略json中不存在的属性
|
||||
fail_on_unknown_properties: false
|
||||
cloud:
|
||||
openfeign:
|
||||
circuitbreaker:
|
||||
enabled: true
|
||||
inetutils:
|
||||
# 指定全局使用ip网段
|
||||
preferred-networks:
|
||||
|
||||
Reference in New Issue
Block a user