Commit cd083364a073b1f68f43fe6530b6b878ad208bc6
1 parent
87cbc79f
修改development的ribon服务配置
Showing
1 changed file
with
12 additions
and
6 deletions
class-service.yml
| @@ -110,12 +110,18 @@ hystrix: | @@ -110,12 +110,18 @@ hystrix: | ||
| 110 | 110 | ||
| 111 | #这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建) | 111 | #这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建) |
| 112 | #为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建) | 112 | #为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建) |
| 113 | -ribbon: | ||
| 114 | - eureka: | ||
| 115 | - enabled: true | ||
| 116 | - UseIPAddrForServer: true | ||
| 117 | - ReadTimeout: 5000 | ||
| 118 | - ConnectTimeout: 10000 | 113 | +#ribbon: |
| 114 | +# eureka: | ||
| 115 | +# enabled: true | ||
| 116 | +# UseIPAddrForServer: true | ||
| 117 | +# ReadTimeout: 5000 | ||
| 118 | +# ConnectTimeout: 10000 | ||
| 119 | + | ||
| 120 | +gxb-api-service: | ||
| 121 | + ribbon: | ||
| 122 | + ReadTimeout: 60000 | ||
| 123 | + ConnectTimeout: 60000 | ||
| 124 | + listOfServers: http://api/gxb-api | ||
| 119 | 125 | ||
| 120 | 126 | ||
| 121 | # 一些公共的常量配置 | 127 | # 一些公共的常量配置 |