mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* 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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user