feat: live reading during the speed test, and a 15 s limit that keeps what was measured

This commit is contained in:
redtea committed 2026-10-13 23:06:56 +03:00
1 parent 6441b4329d
commit ab8751d436
4 files changed
+305 -32

No files matched your search

+3
View File
@@ -193,4 +193,7 @@ type SysSpeedResult struct {
DownBps float64 `json:"down_bps"` // bits per second
UpBps float64 `json:"up_bps"`
Relay bool `json:"relay,omitempty"` // the streams went through the relay
// Partial marks a test the server cut short: the numbers are what it had
// counted on its own side by then.
Partial bool `json:"partial,omitempty"`
}