diff --git a/pkg/net/rpc/warden/client.go b/pkg/net/rpc/warden/client.go index 3450fad70..f8b2395e5 100644 --- a/pkg/net/rpc/warden/client.go +++ b/pkg/net/rpc/warden/client.go @@ -107,6 +107,8 @@ func (c *Client) handle() grpc.UnaryClientInterceptor { return } defer onBreaker(brk, &err) + _, ctx, cancel = conf.Timeout.Shrink(ctx) + defer cancel() nmd.Range(ctx, func(key string, value interface{}) { if valstr, ok := value.(string); ok {