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