RSNewWebUI/webui-src/app/network
jolavillette 1111019861 webui v166: the friend sweep, four requests per location, all at once
Every mount of the Network, People, Home, Statistics or Graph pages
redid Data.refreshGpgDetails(): getFriendList, then for every location
getPeerDetails, isOnline, getCustomStateString and getStatus -- four
requests per location, fired together through Promise.all. With two
thousand locations that is eight thousand requests filling the browser's
six sockets, and on a phone behind a slow link every interactive request
-- opening a distant chat, the tunnel status poll, a chat message --
queued for minutes behind them. The Debug page showed it as a scroll of
getPeerDetails.

Now: one getOnlineList replaces the per-location isOnline; the status
string and status value are asked only for peers that are online; the
getPeerDetails sweep runs three at a time, the list filling as answers
land on a first load; the result is kept for five minutes, later mounts
only refreshing the online flags with that one request, and concurrent
callers share the sweep in flight. Adding or removing a friend forces a
full sweep.
2026-08-29 18:43:14 +02:00
..
network_chat_tab.js Fixes for phones 2026-08-16 12:06:20 +02:00
network_data.js webui v166: the friend sweep, four requests per location, all at once 2026-08-29 18:43:14 +02:00
network_details_tab.js webui v166: the friend sweep, four requests per location, all at once 2026-08-29 18:43:14 +02:00
network_friends_list.js Fixing adding friends via Short ID 2026-08-15 17:33:08 +02:00
network_graph.js Improved chat, network & people pages for mobile phones 2026-08-15 11:50:17 +02:00
network_state.js Fixed to use counters badges only for new chats 2026-08-27 13:06:22 +02:00
network.js Improved phone composer spacing 2026-08-27 13:34:59 +02:00