1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-06 16:30:27 +08:00

fix: recv speed calc

This commit is contained in:
源文雨
2023-08-05 14:04:22 +08:00
parent 1caf27dfa9
commit 7fc649084e

View File

@@ -55,7 +55,7 @@ func (m *Me) listen() (conn *net.UDPConn, err error) {
i--
continue
}
recvtotlcnt += len(lbf)
recvtotlcnt += n
recvloopcnt++
if recvloopcnt >= 4096 {
now := time.Now().UnixMilli()