Feature Request: Make new ARC threshold change based on debug setting
Adds LiruNewARCLimit debug setting
This commit is contained in:
@@ -718,6 +718,17 @@
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>LiruNewARCLimit</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>The high threshold number used to calculate the colors displayed for new ARC numbers, when LiruSensibleARC is false. Default is 20000.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>U32</string>
|
||||
<key>Value</key>
|
||||
<integer>20000</integer>
|
||||
</map>
|
||||
<key>LiruNoTransactionClutter</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -8763,7 +8763,7 @@ void LLVOAvatar::idleUpdateRenderCost()
|
||||
else
|
||||
{
|
||||
static const U32 ARC_BODY_PART_COST = 200;
|
||||
static const U32 ARC_LIMIT = 20000;
|
||||
static const LLCachedControl<U32> ARC_LIMIT("LiruNewARCLimit", 20000);
|
||||
|
||||
static std::set<LLUUID> all_textures;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user