Bug 705365 - shorten the plugin hang timeout so that it is shorter than the main process hang timeout, presumptive-r=jimm feedback=asa

This commit is contained in:
Benjamin Smedberg 2011-11-25 22:48:53 -05:00
parent a6b28918d7
commit 3a9c4f24cb

View File

@ -1482,14 +1482,14 @@ pref("hangmonitor.timeout", 0);
#ifndef DEBUG
// How long a plugin is allowed to process a synchronous IPC message
// before we consider it "hung".
pref("dom.ipc.plugins.timeoutSecs", 45);
pref("dom.ipc.plugins.timeoutSecs", 25);
// How long a plugin process will wait for a response from the parent
// to a synchronous request before terminating itself. After this
// point the child assumes the parent is hung.
pref("dom.ipc.plugins.parentTimeoutSecs", 15);
// How long a plugin launch is allowed to take before
// we consider it failed.
pref("dom.ipc.plugins.processLaunchTimeoutSecs", 45);
pref("dom.ipc.plugins.processLaunchTimeoutSecs", 25);
#else
// No timeout in DEBUG builds
pref("dom.ipc.plugins.timeoutSecs", 0);