diff --git a/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts b/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts index 542db94..0801443 100644 --- a/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts +++ b/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts @@ -5,14 +5,7 @@ import { MatchQuery } from '@modules/ad/core/application/queries/match/match.que import { MatchingResult } from '@modules/ad/core/application/queries/match/match.query-handler'; import { MatchEntity } from '@modules/ad/core/domain/match.entity'; import { MatchMapper } from '@modules/ad/match.mapper'; -import { CacheInterceptor, CacheKey } from '@nestjs/cache-manager'; -import { - Controller, - Inject, - UseFilters, - UseInterceptors, - UsePipes, -} from '@nestjs/common'; +import { Controller, Inject, UseFilters, UsePipes } from '@nestjs/common'; import { QueryBus } from '@nestjs/cqrs'; import { GrpcMethod } from '@nestjs/microservices'; import { LogCauseExceptionFilter } from '@src/log-cause.exception-filter'; @@ -35,8 +28,6 @@ export class MatchGrpcController { private readonly matchMapper: MatchMapper, ) {} - @CacheKey('MatcherServiceMatch') - @UseInterceptors(CacheInterceptor) @GrpcMethod('MatcherService', 'Match') async match(data: MatchRequestDto): Promise { const matchingResult: MatchingResult = await this.queryBus.execute(