From 08aba7acba1b5c312348d4b261e4c8c84bc01e85 Mon Sep 17 00:00:00 2001 From: you Date: Thu, 19 Mar 2026 08:38:24 +0000 Subject: [PATCH] Increase live map node limit from 500 to 2000 500 limit was cutting off nodes, causing single-candidate false matches (e.g. Osprey-Base in Seattle winning for prefix 60 when little russia in SF was beyond the limit). With ~400 nodes having coords, 2000 ensures all are loaded. --- public/live.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/live.js b/public/live.js index 9ef4fe5..d0fd49a 100644 --- a/public/live.js +++ b/public/live.js @@ -819,8 +819,8 @@ async function loadNodes(beforeTs) { try { const url = beforeTs - ? `/api/nodes?limit=500&before=${encodeURIComponent(new Date(beforeTs).toISOString())}` - : '/api/nodes?limit=500'; + ? `/api/nodes?limit=2000&before=${encodeURIComponent(new Date(beforeTs).toISOString())}` + : '/api/nodes?limit=2000'; const resp = await fetch(url); const nodes = await resp.json(); const list = Array.isArray(nodes) ? nodes : (nodes.nodes || []);