refresh config local cache (#173)

This commit is contained in:
zhong-jie
2021-05-08 17:26:56 +08:00
committed by GitHub
parent 5f5acd1f1d
commit 495df44923
11 changed files with 391 additions and 52 deletions

View File

@@ -103,3 +103,16 @@ gateway:
aggr:
# set headers when calling the backend API
proxy_set_headers: host,X-Real-IP,X-Forwarded-Proto,X-Forwarded-For
refresh-local-cache:
# initial delay 5 minutes
initial-delay-millis: 300000
# fixed rate 5 minutes
fixed-rate-millis: 300000
api-config-enabled: true
api-config-2-apps-enabled: true
aggregate-config-enabled: true
gateway-group-enabled: true
app-auth-enabled: true
flow-control-rule-enabled: true
rpc-service-enabled: true