Commit ddb95f95 by Administrator

Update techhero-framework-oauth-local.yml

parent 0a447976
...@@ -27,11 +27,13 @@ external: ...@@ -27,11 +27,13 @@ external:
- 7AC4F6926B1AFEA6D96B8DE863B17BAC - 7AC4F6926B1AFEA6D96B8DE863B17BAC
feign: feign:
hystrix:
enabled: true
client: client:
config: config:
default: # 服务名,填写 default 为所有服务,或者指定某服务,例如:annoroad-beta default:
connectTimeout: 10000 # 连接超时,10秒 connectTimeout: 6000 #连接超时时间
readTimeout: 20000 # 读取超时,20秒 readTimeut: 6000 #服务持续超时时间
httpclient: httpclient:
enabled: false # 关闭 ApacheHttpClient enabled: false # 关闭 ApacheHttpClient
max-connections: 50 # 连接池连接最大连接数(缺省值 200) max-connections: 50 # 连接池连接最大连接数(缺省值 200)
...@@ -40,7 +42,12 @@ feign: ...@@ -40,7 +42,12 @@ feign:
enabled: true # 开启 okhttp enabled: true # 开启 okhttp
# yml # yml
hystrix: hystrix:
command.default.execution.isolation.thread.timeoutInMilliseconds: 10000 command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 6000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment