For SH-3071: Increase HTTP concurrency to improve texture fetching performance

meow-7.2.2
Xiaohong Bao 2012-04-03 16:02:36 -06:00
parent 625e76c1e4
commit 6eb53b7c42
1 changed files with 1 additions and 1 deletions

View File

@ -1151,7 +1151,7 @@ bool LLTextureFetchWorker::doWork(S32 param)
//1, not openning too many file descriptors at the same time;
//2, control the traffic of http so udp gets bandwidth.
//
static const S32 MAX_NUM_OF_HTTP_REQUESTS_IN_QUEUE = 8 ;
static const S32 MAX_NUM_OF_HTTP_REQUESTS_IN_QUEUE = 24 ;
if(mFetcher->getNumHTTPRequests() > MAX_NUM_OF_HTTP_REQUESTS_IN_QUEUE)
{
return false ; //wait.