code quality
Some checks failed
CI / lint-typecheck (pull_request) Failing after 12s
CI / tests (pull_request) Has been skipped
CI / contract-tests (pull_request) Has been skipped
CI / e2e-tests (pull_request) Has been skipped
CI / comment-pr (pull_request) Has been skipped
CI / commit-types (pull_request) Has been skipped

This commit is contained in:
2026-01-26 12:52:24 +01:00
parent f877f821ef
commit cfc30c79a8
62 changed files with 227 additions and 173 deletions

View File

@@ -69,7 +69,7 @@ export class InMemoryHealthCheckAdapter implements HealthCheckQuery {
await new Promise(resolve => setTimeout(resolve, this.responseTime));
if (this.shouldFail) {
this.recordFailure(this.failError);
this.recordFailure();
return {
healthy: false,
responseTime: this.responseTime,
@@ -141,7 +141,7 @@ export class InMemoryHealthCheckAdapter implements HealthCheckQuery {
/**
* Record a failed health check
*/
private recordFailure(error: string): void {
private recordFailure(): void {
this.health.totalRequests++;
this.health.failedRequests++;
this.health.consecutiveFailures++;