bug 1471156 - double the DNS cache size to 800 entries r=mcmanus
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Jun 2018 11:39:04 +0200
changeset 423742 720b4505a158b36667307d435b680999b4fc70d3
parent 423741 bb51c20029b811ee6c76a6bd158ce17b6179c670
child 423743 4e78d806cb631ac23183b1133d6c963c4c6ee191
push id34191
push userrgurzau@mozilla.com
push dateTue, 26 Jun 2018 21:53:37 +0000
treeherdermozilla-central@1c235a552c32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcmanus
bugs1471156
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1471156 - double the DNS cache size to 800 entries r=mcmanus ... but leave it at 400 for Android. MozReview-Commit-ID: 1Tni6zWrYNL
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1998,17 +1998,21 @@ pref("network.IDN.blacklist_chars", "\u0
 // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
 // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
 pref("network.dns.ipv4OnlyDomains", "");
 
 // This preference can be used to turn off IPv6 name lookups. See bug 68796.
 pref("network.dns.disableIPv6", false);
 
 // This is the number of dns cache entries allowed
+#ifdef ANDROID
 pref("network.dnsCacheEntries", 400);
+#else
+pref("network.dnsCacheEntries", 800);
+#endif
 
 // In the absence of OS TTLs, the DNS cache TTL value
 pref("network.dnsCacheExpiration", 60);
 
 // Get TTL; not supported on all platforms; nop on the unsupported ones.
 pref("network.dns.get-ttl", true);
 
 // For testing purposes! Makes the native resolver resolve IPv4 "localhost"