Implement curl connection throttling (CurlConcurrentConnections)
This commit is contained in:
@@ -4205,6 +4205,17 @@
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>CurlConcurrentConnections</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Maximum number of simultaneous curl connections (requires restart)</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>U32</string>
|
||||
<key>Value</key>
|
||||
<integer>16</integer>
|
||||
</map>
|
||||
<key>CurlMaximumNumberOfHandles</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -1817,7 +1817,7 @@ bool LLAppViewer::initThreads()
|
||||
LLWatchdog::getInstance()->init(watchdog_killer_callback);
|
||||
}
|
||||
|
||||
AICurlInterface::startCurlThread();
|
||||
AICurlInterface::startCurlThread(gSavedSettings.getU32("CurlConcurrentConnections"));
|
||||
|
||||
LLImage::initClass();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user