diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index cfe10a2e2..1998eab74 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -39,7 +39,7 @@ Persist 1 Type - U32 + S32 Value 32 @@ -50,7 +50,7 @@ Persist 1 Type - U32 + S32 Value 2 diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index d24bff56b..83de34ecd 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -1274,8 +1274,8 @@ 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 LLCachedControl max_http_requests("HTTPMaxRequests", 32); - static const LLCachedControl min_http_requests("HTTPMinRequests", 2); + static const LLCachedControl max_http_requests("HTTPMaxRequests", 32); + static const LLCachedControl min_http_requests("HTTPMinRequests", 2); if((mFetcher->getNumHTTPRequests() > max_http_requests) || ((mFetcher->getTextureBandwidth() > mFetcher->mMaxBandwidth) && (mFetcher->getNumHTTPRequests() > min_http_requests)) ||