diff options
author | UbitUmarov | 2019-04-09 12:46:21 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-09 12:46:21 +0100 |
commit | b8a061816ff15bd6d021e4936ee4332877d557b4 (patch) | |
tree | bcfc4a78e42a290f93cc3deffc0ba618d86d97a8 /OpenSim | |
parent | old tp timing issues on grid presence notification did came back, so put back... (diff) | |
download | opensim-SC-b8a061816ff15bd6d021e4936ee4332877d557b4.zip opensim-SC-b8a061816ff15bd6d021e4936ee4332877d557b4.tar.gz opensim-SC-b8a061816ff15bd6d021e4936ee4332877d557b4.tar.bz2 opensim-SC-b8a061816ff15bd6d021e4936ee4332877d557b4.tar.xz |
degradate udp network efficiency a bit
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 9e0c783..670d61f 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5059,7 +5059,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5059 | if (istree) | 5059 | if (istree) |
5060 | maxUpdatesBytes -= 64; | 5060 | maxUpdatesBytes -= 64; |
5061 | else | 5061 | else |
5062 | maxUpdatesBytes -= 100; // crude estimation | 5062 | maxUpdatesBytes -= 120; // crude estimation |
5063 | 5063 | ||
5064 | if (compressedUpdates == null) | 5064 | if (compressedUpdates == null) |
5065 | { | 5065 | { |
@@ -5277,9 +5277,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5277 | lastzc = zc.ZeroCount; | 5277 | lastzc = zc.ZeroCount; |
5278 | 5278 | ||
5279 | CreateCompressedUpdateBlockZC(sop, mysp, zc); | 5279 | CreateCompressedUpdateBlockZC(sop, mysp, zc); |
5280 | if (zc.Position < LLUDPServer.MAXPAYLOAD) | 5280 | if (zc.Position < LLUDPServer.MAXPAYLOAD - 200) |
5281 | { | 5281 | { |
5282 | tau.Add(eu); | 5282 | //tau.Add(eu); |
5283 | ++count; | 5283 | ++count; |
5284 | } | 5284 | } |
5285 | else | 5285 | else |
@@ -5312,7 +5312,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5312 | // im lazy now, just do last again | 5312 | // im lazy now, just do last again |
5313 | CreateCompressedUpdateBlockZC(sop, mysp, zc); | 5313 | CreateCompressedUpdateBlockZC(sop, mysp, zc); |
5314 | tau = new List<EntityUpdate>(30); | 5314 | tau = new List<EntityUpdate>(30); |
5315 | tau.Add(eu); | 5315 | //tau.Add(eu); |
5316 | count = 1; | 5316 | count = 1; |
5317 | } | 5317 | } |
5318 | } | 5318 | } |