mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-04-27 23:25:12 +00:00
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:
+2
-2
@@ -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 || []);
|
||||
|
||||
Reference in New Issue
Block a user