Add health check and retry logic and circuit breaker

This commit is contained in:
SepehrYahyaee
2026-09-28 17:01:53 +03:30
parent 22371f4a03
commit 03fa5e0f20
67 changed files with 3101 additions and 410 deletions
+3
View File
@@ -18,6 +18,9 @@ import { UserRateLimitGuard } from './user-rate-limit.guard';
{
ttl: config.get<number>('throttle.ttl', 60) * 1000,
limit: config.get<number>('throttle.limit', 100),
// Keep the guard registered so route-level metadata remains intact,
// but allow local batch tests to disable enforcement explicitly.
skipIf: () => !config.get<boolean>('throttle.enabled', true),
},
],
}),