add a few more parens to make sure that throttling condition
is really happening the way we want it to.afrisby
parent
7704bb6f63
commit
641e541967
|
@ -2371,7 +2371,7 @@ namespace OpenSim.Region.ClientStack
|
||||||
// wait for the timer to fire to put things into the
|
// wait for the timer to fire to put things into the
|
||||||
// output queue
|
// output queue
|
||||||
|
|
||||||
if(q.Count == 0 && TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor)))
|
if((q.Count == 0) && (TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor))))
|
||||||
{
|
{
|
||||||
bytesSent += item.Packet.ToBytes().Length;
|
bytesSent += item.Packet.ToBytes().Length;
|
||||||
TypeBytesSent += item.Packet.ToBytes().Length;
|
TypeBytesSent += item.Packet.ToBytes().Length;
|
||||||
|
|
Loading…
Reference in New Issue