From 489212737c8ea2d1852519204a2e35524304b686 Mon Sep 17 00:00:00 2001 From: Lambdius Date: Tue, 20 Oct 2026 22:37:20 +0300 Subject: [PATCH] fix(observability): exclude health checks from throttling --- package.json | 2 +- src/observability/health/health.controller.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dca4d6f..06941ab 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Universal NestJS service boilerplate for MonadIAM — authn/permission guards wired against identity-service and access-control-service, audit/change-log capture with outbox-based ClickHouse archival, and BullMQ retention cleanup.", "author": "Daniil Egorov (https://github.com/Lambdius)", "license": "SEE LICENSE IN LICENSE", - "version": "1.0.2", + "version": "1.0.3", "main": "dist/index.js", "engines": { "node": "24.18.0" diff --git a/src/observability/health/health.controller.ts b/src/observability/health/health.controller.ts index 6b8f9f2..dc3f260 100644 --- a/src/observability/health/health.controller.ts +++ b/src/observability/health/health.controller.ts @@ -1,11 +1,13 @@ import { ApiOperation, ApiTags } from "@nestjs/swagger"; import { Controller, Get } from "@nestjs/common"; +import { SkipThrottle } from "@nestjs/throttler"; import { HealthCheck } from "@nestjs/terminus"; import { SkipInterceptors, Public } from "~common/decorators"; import { HealthService } from "./health.service"; +@SkipThrottle() @ApiTags("Health") @SkipInterceptors() @Controller("health")