summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 20:34:45 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 20:34:45 +0000
commit5078156337fd5177c77b83e4842ddc0f017f0e64 (patch)
tree7ef6cc2422f51f51f50cb3145a0d693f018fff52 /net
parent1199d6a721eded5066685074342f004e2ed91518 (diff)
downloadchromium_src-5078156337fd5177c77b83e4842ddc0f017f0e64.zip
chromium_src-5078156337fd5177c77b83e4842ddc0f017f0e64.tar.gz
chromium_src-5078156337fd5177c77b83e4842ddc0f017f0e64.tar.bz2
Increase the default cache time for failed host resolves from 1 second to 1 minute.
BUG=1672 Review URL: http://codereview.chromium.org/1576021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/host_resolver_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/host_resolver_impl.cc b/net/base/host_resolver_impl.cc
index f7a3b4f..4fe2ccd 100644
--- a/net/base/host_resolver_impl.cc
+++ b/net/base/host_resolver_impl.cc
@@ -38,7 +38,7 @@ HostCache* CreateDefaultCache() {
HostCache* cache = new HostCache(
kMaxHostCacheEntries,
base::TimeDelta::FromMinutes(1),
- base::TimeDelta::FromSeconds(1));
+ base::TimeDelta::FromMinutes(1));
return cache;
}