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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user