* Temporarily revert r6714 which changed agent throttle number interpretation

* I suspect the restriction stopped the very large number of packet resends that occur on certain operations, which led to other failures.
0.6.0-stable
Justin Clarke Casey 2008-10-07 20:04:43 +00:00
parent bb7fcf378b
commit 914c733505
1 changed files with 8 additions and 6 deletions

View File

@ -53,15 +53,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return (m_currentBitsSent < (m_currentThrottle/m_throttleTimeDivisor));
}
public int AddBits(int bits)
{
m_currentBitsSent += bits;
return m_currentBitsSent;
}
// public int AddBits(int bits)
// {
// m_currentBitsSent += bits;
// return m_currentBitsSent;
// }
public int AddBytes(int bytes)
{
m_currentBitsSent += bytes * 8;
// XXX: Temporarily treat bytes as bits. This is a temporary revert of r6714 until other underlying issues
// are addressed.
m_currentBitsSent += bytes;
return m_currentBitsSent;
}