summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 18:36:15 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 18:36:15 +0000
commit2913e84f3ea32a61e93086726f65f0a5426917a3 (patch)
treed69410ca098691bfeec4116122a333cf8523ed9a /chrome/plugin
parent0e5751071d3b5afec4a2ac2286bdde2800420cc8 (diff)
downloadchromium_src-2913e84f3ea32a61e93086726f65f0a5426917a3.zip
chromium_src-2913e84f3ea32a61e93086726f65f0a5426917a3.tar.gz
chromium_src-2913e84f3ea32a61e93086726f65f0a5426917a3.tar.bz2
Increase the plugin process teardown timeout from 10s to 5min.
This change is somewhat arbitrary, but reduces churn on creating new plugin processes. When plugin initialization is expensive, this can reduce page load time. BUG=none TEST=none Review URL: http://codereview.chromium.org/2029010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/plugin_channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/plugin_channel.cc b/chrome/plugin/plugin_channel.cc
index 33faff9a..2ea37be 100644
--- a/chrome/plugin/plugin_channel.cc
+++ b/chrome/plugin/plugin_channel.cc
@@ -30,7 +30,7 @@ class PluginReleaseTask : public Task {
};
// How long we wait before releasing the plugin process.
-static const int kPluginReleaseTimeMS = 10000;
+static const int kPluginReleaseTimeMS = 5 * 60 * 1000; // 5 minutes
// If a sync call to the renderer results in a modal dialog, we need to have a