Commit c5d07c6f by Administrator

Update techhero-gateway-saier.yml

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