view data fixes
This commit is contained in:
@@ -154,9 +154,9 @@ export class HealthRouteService implements Service {
|
||||
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',
|
||||
|
||||
Reference in New Issue
Block a user