diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2012-04-03 16:02:36 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2012-04-03 16:02:36 -0600 |
commit | 6eb53b7c42812cd1e2ebca21bec6849ba850406f (patch) | |
tree | 54ba6f9dd57586e9fb9e05c569944a74b1bea9d6 /indra/newview/lltexturefetch.cpp | |
parent | 625e76c1e429657009c9521ee958e9c2535a2f07 (diff) |
For SH-3071: Increase HTTP concurrency to improve texture fetching performance
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rwxr-xr-x | indra/newview/lltexturefetch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index e27ebf9018..9ed6537b7a 100755 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -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. |