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.
Monty Brandenberg 2013-05-08 18:37:08 -04:00
parent e3db003cbf
commit f55f4bf1b2
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{