diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/PacketQueue.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/PacketQueue.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/ClientStack/PacketQueue.cs b/OpenSim/Region/ClientStack/PacketQueue.cs index 270af48..7991c7d 100644 --- a/OpenSim/Region/ClientStack/PacketQueue.cs +++ b/OpenSim/Region/ClientStack/PacketQueue.cs | |||
@@ -216,9 +216,7 @@ namespace OpenSim.Region.ClientStack | |||
216 | TotalThrottle.Add(qpack.Packet.ToBytes().Length); | 216 | TotalThrottle.Add(qpack.Packet.ToBytes().Length); |
217 | AssetThrottle.Add(qpack.Packet.ToBytes().Length); | 217 | AssetThrottle.Add(qpack.Packet.ToBytes().Length); |
218 | } | 218 | } |
219 | |||
220 | } | 219 | } |
221 | |||
222 | } | 220 | } |
223 | 221 | ||
224 | private void ThrottleCheck(ref PacketThrottle throttle, ref Queue<QueItem> q, QueItem item) | 222 | private void ThrottleCheck(ref PacketThrottle throttle, ref Queue<QueItem> q, QueItem item) |
@@ -273,7 +271,6 @@ namespace OpenSim.Region.ClientStack | |||
273 | SendQueue.Enqueue(item); | 271 | SendQueue.Enqueue(item); |
274 | break; | 272 | break; |
275 | } | 273 | } |
276 | |||
277 | } | 274 | } |
278 | 275 | ||
279 | private int ScaleThrottle(int value, int curmax, int newmax) | 276 | private int ScaleThrottle(int value, int curmax, int newmax) |
@@ -283,9 +280,6 @@ namespace OpenSim.Region.ClientStack | |||
283 | 280 | ||
284 | public void SetThrottleFromClient(Packet Pack) | 281 | public void SetThrottleFromClient(Packet Pack) |
285 | { | 282 | { |
286 | |||
287 | //OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString()); | ||
288 | |||
289 | AgentThrottlePacket atpack = (AgentThrottlePacket)Pack; | 283 | AgentThrottlePacket atpack = (AgentThrottlePacket)Pack; |
290 | 284 | ||
291 | byte[] throttle = atpack.Throttle.Throttles; | 285 | byte[] throttle = atpack.Throttle.Throttles; |
@@ -381,8 +375,6 @@ namespace OpenSim.Region.ClientStack | |||
381 | } | 375 | } |
382 | // effectively wiggling the slider causes things reset | 376 | // effectively wiggling the slider causes things reset |
383 | ResetCounters(); | 377 | ResetCounters(); |
384 | |||
385 | } | 378 | } |
386 | |||
387 | } | 379 | } |
388 | } \ No newline at end of file | 380 | } |