Phase 1: lock cron, reload chaud, argon2, providers, IMDb lookup, cache LRU, /health, /metrics, rate limit, UI dark, biome
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user