diff options
author | Teravus Ovares | 2007-11-22 21:40:53 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-22 21:40:53 +0000 |
commit | f97aeab9163fb24bee16a0a85328a8d177b046fb (patch) | |
tree | 7a440ca4c320666c100ffb7a9b3075d840e3baba /OpenSim/Region/ClientStack/ClientView.cs | |
parent | Created a client driven packet throttler. The sim now respects the client's ... (diff) | |
download | opensim-SC_OLD-f97aeab9163fb24bee16a0a85328a8d177b046fb.zip opensim-SC_OLD-f97aeab9163fb24bee16a0a85328a8d177b046fb.tar.gz opensim-SC_OLD-f97aeab9163fb24bee16a0a85328a8d177b046fb.tar.bz2 opensim-SC_OLD-f97aeab9163fb24bee16a0a85328a8d177b046fb.tar.xz |
* Quelled a Log format exception in the logging routines.
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 411883b..b4441ec 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -96,7 +96,7 @@ namespace OpenSim.Region.ClientStack | |||
96 | // TODO: Make this variable. Lower throttle on un-ack. Raise over time | 96 | // TODO: Make this variable. Lower throttle on un-ack. Raise over time |
97 | 97 | ||
98 | // All throttle times and number of bytes are calculated by dividing by this value | 98 | // All throttle times and number of bytes are calculated by dividing by this value |
99 | private int throttleTimeDivisor = 5; | 99 | private int throttleTimeDivisor = 7; |
100 | 100 | ||
101 | private int throttletimems = 1000; | 101 | private int throttletimems = 1000; |
102 | 102 | ||
@@ -208,7 +208,7 @@ namespace OpenSim.Region.ClientStack | |||
208 | // The General overhead of the UDP protocol gets sent to the queue un-throttled by this | 208 | // The General overhead of the UDP protocol gets sent to the queue un-throttled by this |
209 | // so This'll pick up about around the right time. | 209 | // so This'll pick up about around the right time. |
210 | 210 | ||
211 | int MaxThrottleLoops = 5550; // 50*7 packets can be dequeued at once. | 211 | int MaxThrottleLoops = 4550; // 50*7 packets can be dequeued at once. |
212 | int throttleLoops = 0; | 212 | int throttleLoops = 0; |
213 | 213 | ||
214 | // We're going to dequeue all of the saved up packets until | 214 | // We're going to dequeue all of the saved up packets until |