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 4b9c39638d
commit 42c35f7a9f

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();