Bug 974364 - Decrease the command execute handler heart beat timer to decrease restart delays. r=bbondy
authorJim Mathies <jmathies@mozilla.com>
Wed, 19 Feb 2014 09:50:51 -0600
changeset 169930 d7fdc2f9d7b55ab9bf974988bedbda52c8eac58c
parent 169929 f7f9328980d0a49408716f73d98698d18062a48e
child 169931 750e90d5ee9aad4d53bf76272f52dd88a2564b90
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersbbondy
bugs974364
milestone30.0a1
Bug 974364 - Decrease the command execute handler heart beat timer to decrease restart delays. r=bbondy
browser/metro/shell/commandexecutehandler/CommandExecuteHandler.cpp
--- a/browser/metro/shell/commandexecutehandler/CommandExecuteHandler.cpp
+++ b/browser/metro/shell/commandexecutehandler/CommandExecuteHandler.cpp
@@ -21,17 +21,17 @@
 #include <io.h>
 #include <shellapi.h>
 
 #ifdef SHOW_CONSOLE
 #define DEBUG_DELAY_SHUTDOWN 1
 #endif
 
 // Heartbeat timer duration used while waiting for an incoming request.
-#define HEARTBEAT_MSEC 1000
+#define HEARTBEAT_MSEC 250
 // Total number of heartbeats we wait before giving up and shutting down.
 #define REQUEST_WAIT_TIMEOUT 30
 // Pulled from desktop browser's shell
 #define APP_REG_NAME L"Firefox"
 
 const WCHAR* kFirefoxExe = L"firefox.exe";
 static const WCHAR* kDefaultMetroBrowserIDPathKey = L"FirefoxURL";
 static const WCHAR* kMetroRestartCmdLine = L"--metro-restart";