Commit 962f607d2c12a3e52e8190ace33c9be1aa2b424c
1 parent
2de18750
删除ribbon等配置
Showing
1 changed file
with
0 additions
and
29 deletions
class-service.yml
| ... | ... | @@ -97,35 +97,6 @@ eureka: |
| 97 | 97 | healthcheck: |
| 98 | 98 | enabled: true |
| 99 | 99 | |
| 100 | -zuul: | |
| 101 | - host: | |
| 102 | - connect-timeout-millis: 10000 | |
| 103 | - socket-timeout-millis: 60000 | |
| 104 | - routes: | |
| 105 | - users: | |
| 106 | - serviceId: user-service | |
| 107 | - | |
| 108 | - | |
| 109 | -hystrix: | |
| 110 | - command: | |
| 111 | - default: | |
| 112 | - execution: | |
| 113 | - timeout: | |
| 114 | - enabled: true | |
| 115 | - isolation: | |
| 116 | - thread: | |
| 117 | - timeoutInMilliseconds: 60000 | |
| 118 | - | |
| 119 | -#这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建) | |
| 120 | -#为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建) | |
| 121 | - | |
| 122 | -ribbon: | |
| 123 | - eureka: | |
| 124 | - enabled: true | |
| 125 | -# UseIPAddrForServer: true | |
| 126 | - ReadTimeout: 5000 | |
| 127 | - ConnectTimeout: 10000 | |
| 128 | - | |
| 129 | 100 | # 一些公共的常量配置 |
| 130 | 101 | apiConfig: |
| 131 | 102 | resourceGaoXiaoBangUrl: https://resource.gaoxiaobang.com | ... | ... |