Commit 32db1f78 by Administrator

Update techhero-gateway-local.yml

parent 0afce795
zuul: zuul:
ribbon: ribbon:
ConnectTimeout: 3000 #设置路由转发请求的时候,创建请求连接的超时时间
ReadTimeout: 60000 #用来设置路由转发请求的超时时间
eager-load: eager-load:
enabled: true enabled: true
clients: techhero-auth,techhero-base-system,techhero-base-exam,techhero-base-transdata,techhero-project-theme,techhero-project-emergencycommand,techhero-project-track,techhero-project-visualization,techhero-preventioncheat,techhero-component-task,techhero-component-websocket,techhero-component-message,techhero-component-workflow clients: techhero-auth,techhero-base-system,techhero-base-exam,techhero-base-transdata,techhero-project-theme,techhero-project-emergencycommand,techhero-project-track,techhero-project-visualization,techhero-preventioncheat,techhero-component-task,techhero-component-websocket,techhero-component-message,techhero-component-workflow
...@@ -32,6 +34,14 @@ security: ...@@ -32,6 +34,14 @@ security:
authorization: authorization:
check-token-access: http://techhero-auth/oauth/check_token check-token-access: http://techhero-auth/oauth/check_token
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 60000 #设置API网关中路由转发请求的HystrixCommand执行超时时间
ignore: ignore:
urls: urls:
- /socketServer** - /socketServer**
......
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