mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-13 05:16:46 +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--
|
i--
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
recvtotlcnt += len(lbf)
|
recvtotlcnt += n
|
||||||
recvloopcnt++
|
recvloopcnt++
|
||||||
if recvloopcnt >= 4096 {
|
if recvloopcnt >= 4096 {
|
||||||
now := time.Now().UnixMilli()
|
now := time.Now().UnixMilli()
|
||||||
|
|||||||
Reference in New Issue
Block a user