From 35e3c3dec4a7d2f531a81d6fc65d8bc29900a64c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 24 Aug 2019 22:52:47 +0100 Subject: reduce even more the number of objects per UDP packet on object cache related pkts ( TEST ) --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 31f08af..1927ed4 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -5319,7 +5319,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP lastzc = zc.ZeroCount; CreateCompressedUpdateBlockZC(sop, mysp, zc); - if (zc.Position < LLUDPServer.MAXPAYLOAD - 200) + //if (zc.Position < LLUDPServer.MAXPAYLOAD - 200) + if (zc.Position < LLUDPServer.MAXPAYLOAD - 400) { //tau.Add(eu); ++count; @@ -5403,7 +5404,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP Utils.UIntToBytes((uint)sop.ParentGroup.PseudoCRC, data, pos); pos += 4; //WRONG Utils.UIntToBytes(primflags, data, pos); pos += 4; - if (pos < (LLUDPServer.MAXPAYLOAD - 12)) + //if (pos < (LLUDPServer.MAXPAYLOAD - 12)) + if (pos < (LLUDPServer.MAXPAYLOAD - 200)) ++count; else { -- cgit v1.1