Commit c5d07c6f by Administrator

Update techhero-gateway-saier.yml

parent c7f9af0d
......@@ -2,11 +2,11 @@ zuul:
ribbon:
eager-load:
enabled: true
clients: techhero-auth,techhero-base-exam,techhero-component-workflow,techhero-base-system,techhero-project-theme,techhero-project-emergencycommand,techhero-project-visualization,techhero-preventioncheat,techhero-component-message,techhero-component-task,techhero-component-websocket,techhero-component-oss,techhero-project-track,techhero-project-inspection,techhero-base-datagovern,techhero-project-verification,techhero-front-server
clients: techhero-auth,techhero-base-exam,techhero-base-system,techhero-project-theme,techhero-project-emergencycommand,techhero-project-visualization,techhero-preventioncheat,techhero-component-message,techhero-component-task,techhero-component-websocket,techhero-component-oss,techhero-project-track,techhero-project-inspection,techhero-base-datagovern,techhero-project-verification,techhero-front-server
ignoredServices: '*'
host:
connect-timeout-millis: 60000
socket-timeout-millis: 60000
connect-timeout-millis: 2000000
socket-timeout-millis: 2000000
hystrix:
command:
......@@ -14,16 +14,16 @@ hystrix:
execution:
isolation:
thread:
timeoutInMilliseconds: 200000 #设置API网关中路由转发请求的HystrixCommand执行超时时间
timeoutInMilliseconds: 60000 #设置API网关中路由转发请求的HystrixCommand执行超时时间
ribbon:
ReadTimeout: 60000
ConnectTimeout: 60000
ReadTimeout: 300000
ConnectTimeout: 300000
MaxAutoRetries: 1
MaxAutoRetriesNextServer: 1
host:
connect-timeout-millis: 60000
socket-timeout-millis: 60000
connect-timeout-millis: 20000
socket-timeout-millis: 20000
security:
encode:
......@@ -38,7 +38,7 @@ security:
client-secret: techhero
resource:
jwt:
key-uri: http://127.0.0.1:15802/oauth/token_key #解析jwt令牌所需要密钥的地址
key-uri: http://authServer:15802/oauth/token_key #解析jwt令牌所需要密钥的地址
authorization:
check-token-access: http://techhero-auth/oauth/check_token
......
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