mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 00:15:45 +08:00
Fix very recent regression in 917d753 where I put the ++updatesThisCall outside the batching part of ProcessEntityUpdates()
This stopped any batching happening and since this method is called periodically updates were sent very slowly
This commit is contained in:
@@ -3848,6 +3848,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
terseUpdates.Value.Add(update);
|
||||
}
|
||||
}
|
||||
|
||||
++updatesThisCall;
|
||||
|
||||
#endregion Block Construction
|
||||
}
|
||||
@@ -3914,8 +3916,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
// If any of the packets created from this call go unacknowledged, all of the updates will be resent
|
||||
OutPacket(packet, ThrottleOutPacketType.Task, true, delegate(OutgoingPacket oPacket) { ResendPrimUpdates(terseUpdates.Value, oPacket); });
|
||||
}
|
||||
|
||||
++updatesThisCall;
|
||||
}
|
||||
|
||||
#endregion Packet Sending
|
||||
|
||||
Reference in New Issue
Block a user