Commit d4175c870c7e778eca6f470e5a3540676ec9585f

Authored by luotong
1 parent 0cc47f77

修改user-service服务调用配置

Showing 1 changed file with 7 additions and 6 deletions
class-service.yml
... ... @@ -109,12 +109,13 @@ hystrix:
109 109  
110 110 #这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建)
111 111 #为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建)
112   -ribbon:
113   - eureka:
114   - enabled: true
115   - UseIPAddrForServer: true
116   - ReadTimeout: 5000
117   - ConnectTimeout: 10000
  112 +user-service:
  113 + ribbon:
  114 + eureka:
  115 + enabled: true
  116 + UseIPAddrForServer: true
  117 + ReadTimeout: 5000
  118 + ConnectTimeout: 10000
118 119  
119 120 # 一些公共的常量配置
120 121 apiConfig:
... ...