summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 18:05:24 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 18:05:24 +0000
commitae46ab8546f732b80e70a59b3806cc899cd21316 (patch)
treec5deace60e7bf581b91a57dfece07eb3f9d4223f
parent2d5a364167c29174b46fac39b9fb29a56308a4bf (diff)
downloadchromium_src-ae46ab8546f732b80e70a59b3806cc899cd21316.zip
chromium_src-ae46ab8546f732b80e70a59b3806cc899cd21316.tar.gz
chromium_src-ae46ab8546f732b80e70a59b3806cc899cd21316.tar.bz2
Revert "Speed up net_unittests by ~20s by manipulating tcp_pinger timeouts."
This reverts commit e0ff42dd35e02eae62f35043072ca23676577cac. Did it break Vista tests? Let's see. TBR=nsylvain Review URL: http://codereview.chromium.org/155093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19958 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/socket/tcp_pinger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/tcp_pinger.h b/net/socket/tcp_pinger.h
index 37ad881..0b0bd9b 100644
--- a/net/socket/tcp_pinger.h
+++ b/net/socket/tcp_pinger.h
@@ -41,9 +41,9 @@ class TCPPinger {
}
int Ping() {
- // Default is 40 tries, each with a timeout of 250ms,
+ // Default is 10 tries, each with a timeout of 1000ms,
// for a total max timeout of 10 seconds.
- return Ping(base::TimeDelta::FromMilliseconds(250), 40);
+ return Ping(base::TimeDelta::FromMilliseconds(1000), 10);
}
int Ping(base::TimeDelta tryTimeout, int nTries) {