Update On Sun Sep 1 20:31:00 CEST 2024

This commit is contained in:
github-action[bot]
2024-09-01 20:31:00 +02:00
parent 82a0991106
commit e2e637c916
95 changed files with 2318 additions and 6346 deletions

View File

@@ -190,10 +190,10 @@ func (s *Stats) Record(up, down int64) {
}
func (s *Stats) String() string {
return fmt.Sprintf("up: %s, down: %s, handshake latency: %s",
return fmt.Sprintf("up: %s, down: %s, latency: %s",
bytes.PrettyByteSize(float64(s.Up)),
bytes.PrettyByteSize(float64(s.Down)),
s.HandShakeLatency.String(),
fmt.Sprintf("%d ms", s.HandShakeLatency.Milliseconds()),
)
}