Feature Request: Make new ARC threshold change based on debug setting

Adds LiruNewARCLimit debug setting
This commit is contained in:
Lirusaito
2013-07-19 07:07:26 -04:00
parent 663d0a29f2
commit aaf010da4c
2 changed files with 12 additions and 1 deletions

View File

@@ -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;