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.
This commit is contained in:
you
2026-03-19 08:38:24 +00:00
parent 303467f2b9
commit 08aba7acba
+2 -2
View File
@@ -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 || []);