bug 1495537 - lower the default trr request-timeout to 1500 ms r=dragana
authorDaniel Stenberg <daniel@haxx.se>
Tue, 02 Oct 2018 16:44:12 +0000
changeset 494944 26d8702b46cd70f7cc31ed2841f369ca5fc6e57b
parent 494943 6a7574d2dfb8f5f7bff7ae8aab3a60fbfca8fdbf
child 494945 3e6405e7631c01f4e4fca496db66c55601575634
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdragana
bugs1495537
milestone64.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 1495537 - lower the default trr request-timeout to 1500 ms r=dragana 99.15% of all TRR requests are done within 1.56 seconds (in beta 63) and 1500 milliseconds is already a very long time to wait for a resolve to fail... The median is 44 ms and 95th percentile is at 471 ms. MozReview-Commit-ID: CICBAA0cEBd Differential Revision: https://phabricator.services.mozilla.com/D7336
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5413,17 +5413,17 @@ pref("network.trr.useGET", false);
 pref("network.trr.confirmationNS", "example.com");
 // hardcode the resolution of the hostname in network.trr.uri instead of
 // relying on the system resolver to do it for you
 pref("network.trr.bootstrapAddress", "");
 // TRR blacklist entry expire time (in seconds). Default is one minute.
 // Meant to survive basically a page load.
 pref("network.trr.blacklist-duration", 60);
 // Single TRR request timeout, in milliseconds
-pref("network.trr.request-timeout", 3000);
+pref("network.trr.request-timeout", 1500);
 // Allow AAAA entries to be used "early", before the A results are in
 pref("network.trr.early-AAAA", false);
 // Explicitly disable ECS (EDNS Client Subnet, RFC 7871)
 pref("network.trr.disable-ECS", true);
 
 pref("captivedetect.canonicalURL", "http://detectportal.firefox.com/success.txt");
 pref("captivedetect.canonicalContent", "success\n");
 pref("captivedetect.maxWaitingTime", 5000);