Commit 4058cffd by Administrator

Update techhero-gkzy-gateway.yml

parent cba92622
...@@ -116,28 +116,7 @@ swagger: ...@@ -116,28 +116,7 @@ swagger:
client: client:
- techhero-user-service - techhero-user-service
- techhero-dlkkx-service - techhero-dlkkx-service
# 关闭默认路由
#zuul:
# ignoredServices: '*'
zuul:
host:
socket-timeout-millis: 60000
connect-timeout-millis: 60000
ratelimit:
key-prefix: lhlxRequestLimit
enabled: true
repository: redis #对应存储类型(用来存储统计信息)
behind-proxy: true #代理之后
default-policy-list: #可选 - 针对所有的路由配置的策略,除非特别配置了policies
- limit: 2 #可选 - 每个刷新时间窗口对应的请求数量限制
# quota: 1 #可选- 每个刷新时间窗口对应的请求时间限制,接口的耗时时间(秒)
refresh-interval: 60 # 刷新时间窗口的时间,默认值 (秒)
type: #可选 限流方式
- url_pattern=/ksfw/score/studentScore/scoreQuery
- limit: 3
refresh-interval: 60
type:
- url_pattern=/ksfw/score/studentScore/lqQuery
notencrypt: notencrypt:
reqUrls: reqUrls:
......
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