view data fixes
Some checks failed
Contract Testing / contract-snapshot (pull_request) Has been cancelled
Contract Testing / contract-tests (pull_request) Has been cancelled

This commit is contained in:
2026-01-25 00:12:30 +01:00
parent 1b0a1f4aee
commit 6c07abe5e7
37 changed files with 400 additions and 185 deletions

View File

@@ -150,14 +150,14 @@ export class HealthRouteService implements Service {
// Simulate database health check
// In a real implementation, this would query the database
await this.delay(50);
const latency = Date.now() - startTime;
// Simulate occasional database issues
// if (Math.random() < 0.1 && attempt < this.maxRetries) {
// throw new Error('Database connection timeout');
// }
if (Math.random() < 0.1 && attempt < this.maxRetries) {
throw new Error('Database connection timeout');
}
return {
status: 'healthy',
latency,