backup: before bulk replacement

This commit is contained in:
2026-05-19 19:49:01 +01:00
parent d7bec1ae78
commit 27806f438f
11 changed files with 1044 additions and 955 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export const dynamic = 'force-dynamic';
export const runtime = 'nodejs';
// Cache for driver ranks (refreshed periodically)
let rankCache: Map<string, { rank: number, rating: number }> = new Map();
const rankCache: Map<string, { rank: number, rating: number }> = new Map();
let lastRankUpdate = 0;
const RANK_CACHE_TTL = 60000; // 1 minute