website refactor
This commit is contained in:
@@ -31,7 +31,7 @@ export class ApiConnectionMonitor extends EventEmitter {
|
||||
private isChecking = false;
|
||||
private checkInterval: NodeJS.Timeout | null = null;
|
||||
private healthCheckEndpoint: string;
|
||||
private readonly CHECK_INTERVAL = 30000; // 30 seconds
|
||||
private readonly CHECK_INTERVAL = 300000; // 5 minutes
|
||||
private readonly DEGRADATION_THRESHOLD = 0.7; // 70% failure rate
|
||||
|
||||
private constructor(healthCheckEndpoint: string = '/health') {
|
||||
|
||||
Reference in New Issue
Block a user