Fix issue for ratelimit

Signed-off-by: Tang Le <tangle3@wanda.cn>
This commit is contained in:
Tang Le 2017-01-23 10:01:51 +08:00
parent 8f9b71002b
commit 50297c8f47
2 changed files with 6 additions and 6 deletions

View file

@ -91,7 +91,7 @@ func (a ratelimit) Parse(ing *extensions.Ingress) (interface{}, error) {
RPS: Zone{
Name: fmt.Sprintf("%v_rps", zoneName),
Limit: rps,
Burst: conn * defBurst,
Burst: rps * defBurst,
SharedSize: defSharedSize,
},
}, nil