mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-29 22:14:50 +03:00
4954b032f1
Comparing current traffic across nodes meant opening each node's history chart. The heartbeat already carries every node's upload and download rate. Show both rates in a stacked column of the Nodes table, between Memory and Xray Version, and in the mobile detail dialog, which now follows heartbeat updates. A measured idle link reads 0 B/s; a disabled, offline or transitive node, a peer too old to report throughput, and a sample older than 30 seconds read as a dash. The sample's age is computed on the master and anchored to when the browser received it, so a skewed browser clock does not blank the column. The probe now records a missing or invalid direction as unavailable where it used to store zero, so such peers also stop adding zero points to the history chart. Fixes #7238