summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-18 06:45:45 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-18 06:45:45 +0000
commit145eeb2d81d560a2b972bbbf83a81e9e9e4efb17 (patch)
tree4824886c5f4e14bb3e68881b91a4c334a6af24c6 /chrome
parent7a90e3703cc89cfff95ef58d7647402a5edad3e3 (diff)
downloadchromium_src-145eeb2d81d560a2b972bbbf83a81e9e9e4efb17.zip
chromium_src-145eeb2d81d560a2b972bbbf83a81e9e9e4efb17.tar.gz
chromium_src-145eeb2d81d560a2b972bbbf83a81e9e9e4efb17.tar.bz2
Change default congestion limit for DNS preresolution
UMA data suggests that a 500ms limit on queue duration (before assuming congestion) provides better user experience. This change sets 500ms as the default, and reduces the percentage of users that have other experimental values. BUG=3041,15479 r=eroman Review URL: http://codereview.chromium.org/543083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/net/dns_global.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/dns_global.cc b/chrome/browser/net/dns_global.cc
index 916f307..082f423 100644
--- a/chrome/browser/net/dns_global.cc
+++ b/chrome/browser/net/dns_global.cc
@@ -45,7 +45,7 @@ static void DnsPrefetchMotivatedList(
const size_t DnsGlobalInit::kMaxPrefetchConcurrentLookups = 8;
// static
-const int DnsGlobalInit::kMaxPrefetchQueueingDelayMs = 1000;
+const int DnsGlobalInit::kMaxPrefetchQueueingDelayMs = 500;
// Host resolver shared by DNS prefetcher, and the main URLRequestContext.
static net::HostResolver* global_host_resolver = NULL;
@@ -621,7 +621,7 @@ DnsGlobalInit::DnsGlobalInit(PrefService* user_prefs,
// latency of page loads.
FieldTrial::Probability kDivisor = 100;
// For each option (i.e., non-default), we have a fixed probability.
- FieldTrial::Probability kProbabilityPerGroup = 10; // 10% probability.
+ FieldTrial::Probability kProbabilityPerGroup = 3; // 3% probability.
trial_ = new FieldTrial("DnsImpact", kDivisor);