partial fix for SH-3132 - reduce max concurrent http requests to same level as in release
parent
7fd2290177
commit
c4dfdcb338
|
|
@ -1161,7 +1161,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 = 24 ;
|
||||
static const S32 MAX_NUM_OF_HTTP_REQUESTS_IN_QUEUE = 8 ;
|
||||
if(mFetcher->getNumHTTPRequests() > MAX_NUM_OF_HTTP_REQUESTS_IN_QUEUE)
|
||||
{
|
||||
return false ; //wait.
|
||||
|
|
|
|||
Loading…
Reference in New Issue