Bug 756846 - Increase timeout to 3 minutes for prefetch clearing. r=rstrong
--- a/browser/components/shell/src/nsWindowsShellService.cpp
+++ b/browser/components/shell/src/nsWindowsShellService.cpp
@@ -49,19 +49,19 @@
(val == ERROR_SUCCESS)
#define REG_FAILED(val) \
(val != ERROR_SUCCESS)
#define NS_TASKBAR_CONTRACTID "@mozilla.org/windows-taskbar;1"
// We clear the prefetch files one time after the browser is started after
-// 60 seconds. After this is done once we set a pref so this will never happen
+// 3 minutes. After this is done once we set a pref so this will never happen
// again except in updater code.
-#define CLEAR_PREFETCH_TIMEOUT_MS 60000
+#define CLEAR_PREFETCH_TIMEOUT_MS 180000
NS_IMPL_ISUPPORTS2(nsWindowsShellService, nsIWindowsShellService, nsIShellService)
static nsresult
OpenKeyForReading(HKEY aKeyRoot, const nsAString& aKeyName, HKEY* aKey)
{
const nsString &flatName = PromiseFlatString(aKeyName);