mirror of https://github.com/tikv/client-go.git
parent
35b648cf98
commit
494bebd702
|
|
@ -78,8 +78,8 @@ func (r interceptedClient) SendRequest(ctx context.Context, addr string, req *ti
|
|||
|
||||
var resourceControlInterceptor client.ResourceGroupKVInterceptor
|
||||
|
||||
// SetupResourceControlInterceptor sets the interceptor for resource control.
|
||||
func SetupResourceControlInterceptor(interceptor client.ResourceGroupKVInterceptor) {
|
||||
// SetResourceControlInterceptor sets the interceptor for resource control.
|
||||
func SetResourceControlInterceptor(interceptor client.ResourceGroupKVInterceptor) {
|
||||
resourceControlInterceptor = interceptor
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue