Bug 833178 - Increase Stream Transport thread pool max threads. r=bsmith

This commit is contained in:
Doug Turner 2013-01-22 21:26:00 -08:00
parent c3ecbad273
commit ef0c1aa0c8

View File

@ -442,10 +442,10 @@ nsStreamTransportService::Init()
NS_ENSURE_STATE(mPool);
// Configure the pool
mPool->SetThreadLimit(4);
mPool->SetIdleThreadLimit(1);
mPool->SetIdleThreadTimeout(PR_SecondsToInterval(60));
mPool->SetName(NS_LITERAL_CSTRING("StreamTrans"));
mPool->SetThreadLimit(25);
mPool->SetIdleThreadLimit(1);
mPool->SetIdleThreadTimeout(PR_SecondsToInterval(30));
nsCOMPtr<nsIObserverService> obsSvc =
mozilla::services::GetObserverService();