feign:
client:
config:
default:
connectTimeout: 10000 # 连接超时时间(毫秒)
readTimeout: 10000 # 读取超时时间(毫秒)
ribbon:
ConnectTimeout: 1200000
ReadTimeout: 1200000
hystrix:
command:
default:
execution:
timeout:
enabled: true
isolation:
thread:
timeoutInMilliseconds: 120000
springcloud2022 feign超时时间配置
2024-05-11 15:08:06 40 阅读