merge ranges

This commit is contained in:
hebo
2019-09-07 19:07:49 +08:00
parent c7833a9df7
commit 07d0c60086
113 changed files with 11865 additions and 95 deletions

View File

@@ -117,7 +117,7 @@ func (nc *networkCard) listenNormal() {
}
// throw packets according to a certain probability
throwPacketRate := communicator.GetConfig(communicator.THROW_PACKET_RATE).(float64)
throwPacketRate := communicator.GetThrowPacketRate()
if throwPacketRate >= 1.0 {
time.Sleep(time.Second*3)
continue