######### 路由配置 ################ # 取消重試機制 zuul.retryable=false # host-header zuul.add-host-header=true # 請求處理超時時間 ribbon.ReadTimeout=5000 # 請求連接超時時間 ribbon.ConnectTimeout=1000 # 斷路器超時時間 hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=9000
超時設置配置不會自動提示。實測這樣寫是有效的。