Task/Enabling Rate Limits: fix quota handlers (#3236)

This commit is contained in:
He Cao 2019-02-13 01:55:58 +08:00 committed by Martin Taillefer
parent d6b3bfac56
commit c16ce69f23
2 changed files with 6 additions and 4 deletions

View File

@ -73,9 +73,9 @@ so the configuration to enable rate limiting on both adapters is the same.
name: handler
namespace: istio-system
spec:
quotas:
redisServerUrl: <redis_server_url>
connectionPoolSize: 10
quotas:
- name: requestcount.quota.istio-system
maxAmount: 500
validDuration: 1s
@ -172,6 +172,7 @@ so the configuration to enable rate limiting on both adapters is the same.
- name: requestcount.quota.istio-system
maxAmount: 500
validDuration: 1s
overrides:
- dimensions:
destination: reviews
maxAmount: 1

View File

@ -60,9 +60,9 @@ keywords: [policies,quotas]
name: handler
namespace: istio-system
spec:
quotas:
redisServiceUrl: <redis_server_url>
connectionPoolSize: 10
quotas:
- name: requestcount.quota.istio-system
maxAmount: 500
validDuration: 1s
@ -159,6 +159,7 @@ keywords: [policies,quotas]
- name: requestcount.quota.istio-system
maxAmount: 500
validDuration: 1s
overrides:
- dimensions:
destination: reviews
maxAmount: 1