mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-10-30 19:52:03 +01:00
The map endpoint fetched a single limit=500 page (the API's hard max, sorted last_seen desc), so networks with more than 500 nodes silently hid stale/offline nodes from the unfiltered map — including adopted infrastructure, which still appeared under the adopted_by filter because that filter narrows the query before the limit applies. Follow offset/total pagination via a new _fetch_all_pages helper (40 pages / 20k nodes safety cap, partial results on later-page failure) for both /api/v1/nodes and /api/v1/user/profiles, and report the API-reported total in debug.total_nodes.