website refactor

This commit is contained in:
2026-01-18 13:26:35 +01:00
parent 350c78504d
commit 0b301feb61
225 changed files with 1678 additions and 26666 deletions

View File

@@ -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') {

View File

@@ -47,7 +47,7 @@ export class BaseApiClient {
};
// Start monitoring connection health
this.connectionMonitor.startMonitoring();
// this.connectionMonitor.startMonitoring();
}
/**

View File

@@ -13,7 +13,7 @@ export interface RetryConfig {
}
export const DEFAULT_RETRY_CONFIG: RetryConfig = {
maxRetries: 3,
maxRetries: 1,
baseDelay: 1000,
maxDelay: 10000,
backoffMultiplier: 2,