summaryrefslogtreecommitdiffstats
path: root/jingle/notifier
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 03:37:51 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 03:37:51 +0000
commit962b98214d0ca8e8db14ae83ccb79667ec440eac (patch)
tree25a805a00af4dbafb4dcf47200ec355f1a43be51 /jingle/notifier
parent3aee726050eeb2b29f26abf7da806ba1d1af2389 (diff)
downloadchromium_src-962b98214d0ca8e8db14ae83ccb79667ec440eac.zip
chromium_src-962b98214d0ca8e8db14ae83ccb79667ec440eac.tar.gz
chromium_src-962b98214d0ca8e8db14ae83ccb79667ec440eac.tar.bz2
Add a command line flag to change the default number of parallel DNS requests issued by chrome.
--host-resolver-parallelism=XXX This is a useful debugging tool, since for some users too many parallel DNS requests results in spurious DNS failures from their resolver. BUG=44489 Review URL: http://codereview.chromium.org/3019007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/notifier')
-rw-r--r--jingle/notifier/listener/mediator_thread_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/jingle/notifier/listener/mediator_thread_impl.cc b/jingle/notifier/listener/mediator_thread_impl.cc
index 0cf2423..402346e 100644
--- a/jingle/notifier/listener/mediator_thread_impl.cc
+++ b/jingle/notifier/listener/mediator_thread_impl.cc
@@ -171,7 +171,8 @@ void MediatorThreadImpl::DoLogin(
// TODO(akalin): Use an existing HostResolver from somewhere (maybe
// the IOThread one).
- host_resolver_ = net::CreateSystemHostResolver();
+ host_resolver_ =
+ net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism);
// Start a new pump for the login.
login_.reset();