summaryrefslogtreecommitdiff
path: root/indra/newview/llappcorehttp.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2013-05-08 18:37:08 -0400
committerMonty Brandenberg <monty@lindenlab.com>2013-05-08 18:37:08 -0400
commitf55f4bf1b25d14bcd3d956e6c170ece3880ad5f5 (patch)
treefc5e087531fe10f870e126cc436b3d4ce2016d8a /indra/newview/llappcorehttp.cpp
parente3db003cbff0faa44d29e35139601b9778acfbca (diff)
SH-4163 Run an initial series of 'B' tests on the mesh downloader code
Bleh, had some old initialization code in place that meant I was using 32 connections. (Always verify with 'netstat'...) Logic is now to use 1/4 of MeshMaxConncurrentRequests to head in the direction of 8 at a time. Full count is used to implement a high-water level keeping llcorehttp in work.
Diffstat (limited to 'indra/newview/llappcorehttp.cpp')
-rw-r--r--indra/newview/llappcorehttp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llappcorehttp.cpp b/indra/newview/llappcorehttp.cpp
index 4386e3283b..142344e277 100644
--- a/indra/newview/llappcorehttp.cpp
+++ b/indra/newview/llappcorehttp.cpp
@@ -139,7 +139,8 @@ void LLAppCoreHttp::init()
static const std::string mesh_concur("MeshMaxConcurrentRequests");
if (gSavedSettings.controlExists(mesh_concur))
{
- U32 setting(llmin(gSavedSettings.getU32(mesh_concur), U32(32)));
+ U32 setting(llmin(gSavedSettings.getU32(mesh_concur), 256U) / 4U);
+ setting = llmax(setting, 2U);
if (setting > 0)
{