mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 833178 - Increase Stream Transport thread pool max threads. r=bsmith
This commit is contained in:
parent
c3ecbad273
commit
ef0c1aa0c8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user