由于熔断导致的,修改配置类中的熔断
feign:
hystrix:
enabled: true
command:
default:
circuitBreaker:
sleepWindowInMilliseconds: 100000
forceClosed: true
execution:
islation:
thread:
timeoutInMilliseconds: 60000
httpclient:
connection-timeout: 5000 #设置feign的超时时间