flowcontrol context aware and fix request may hang issue

Kubernetes-commit: ce8805f95fcf6540397eaa60b8d84db752f05eea
This commit is contained in:
chenjun.cj
2019-06-21 12:17:46 +08:00
committed by Kubernetes Publisher
parent 11059204e0
commit 8f99f83432
4 changed files with 64 additions and 6 deletions

View File

@@ -172,6 +172,10 @@ func (t *fakeLimiter) QPS() float32 {
return t.FakeQPS
}
func (t *fakeLimiter) Wait(ctx context.Context) error {
return nil
}
func (t *fakeLimiter) Stop() {}
func (t *fakeLimiter) Accept() {}