Browse Source

feign

master
yasaka 6 years ago
parent
commit
d9f0e32802
  1. 18
      sc-consumer/application-csdn.yml

18
sc-consumer/application-csdn.yml

@ -1,4 +1,20 @@
# hystrix.command.default.execution.timeout.enabled: false
#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000
server:
port: 8200
port: 8200
logging:
level:
com.yasaka.stock.feign.MFeignClient: debug
feign:
hystrix:
enabled: true
ribbon:
ReadTimeout: 30000
ConnectTimeout: 15000
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 10000
Loading…
Cancel
Save