For SH-3071: Increase HTTP concurrency to improve texture fetching performance
parent
625e76c1e4
commit
6eb53b7c42
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue