Phase 1: lock cron, reload chaud, argon2, providers, IMDb lookup, cache LRU, /health, /metrics, rate limit, UI dark, biome

This commit is contained in:
unfr
2026-04-24 07:35:10 +02:00
parent f9745a2390
commit a184a21f57
36 changed files with 2060 additions and 364 deletions

View File

@@ -11,7 +11,10 @@ export async function loadRatings(filePath = IMDB_RATINGS) {
const rl = createInterface({ input: stream, crlfDelay: Infinity });
let first = true;
for await (const line of rl) {
if (first) { first = false; continue; }
if (first) {
first = false;
continue;
}
if (!line) continue;
const tab1 = line.indexOf('\t');
if (tab1 < 0) continue;