reduce even more the number of objects per UDP packet on object cache related pkts ( TEST )

0.9.1.0-post-fixes
UbitUmarov 2019-08-24 22:52:47 +01:00
parent 030ad7f47a
commit 35e3c3dec4
1 changed files with 4 additions and 2 deletions

View File

@ -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
{