mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 833178 - Increase Stream Transport thread pool max threads. r=bsmith
This commit is contained in:
parent
4b9c39638d
commit
42c35f7a9f
@ -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