summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-14 19:41:25 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-06-14 19:41:25 -0400
commitbd99d9fd34db2f782e27861f91c86b1246e81a4e (patch)
tree80052d7f89894cf3c9d74e6129c9c3f0b23dc247
parent7ef59c68b5825751911e7c4dc37dd0b0ea635d67 (diff)
downloadiceweasel-uxp-bd99d9fd34db2f782e27861f91c86b1246e81a4e.tar.gz
Limit max cpu for web workers
-rw-r--r--branding/iceweasel/pref/iceweasel-uxp-branding.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/branding/iceweasel/pref/iceweasel-uxp-branding.js b/branding/iceweasel/pref/iceweasel-uxp-branding.js
index 4d97887..b0b3087 100644
--- a/branding/iceweasel/pref/iceweasel-uxp-branding.js
+++ b/branding/iceweasel/pref/iceweasel-uxp-branding.js
@@ -99,6 +99,11 @@ pref("nglayout.initialpaint.delay", 0);
// Privacy & Freedom Issues
pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
+// Limit max CPU for web workers to 2 cores
+// https://trac.torproject.org/projects/tor/ticket/21675
+// https://bugzilla.mozilla.org/show_bug.cgi?id=1360039
+pref("dom.maxHardwareConcurrency", 2);
+
// CIS 2.1.1 Disable Auto Update / Balrog
pref("app.update.auto", false);
pref("app.update.checkInstallTime", false);