Skip to content

Commit

Permalink
Bug 1001072 - Extend shutdown watchdog timeout to allow telemetry to …
Browse files Browse the repository at this point in the history
…shutdown. r=fabrice
  • Loading branch information
Jim Chen committed Apr 24, 2014
1 parent f9cf32e commit e505a81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion b2g/app/b2g.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ pref("marionette.force-local", true);
#ifdef MOZ_UPDATER
// When we're applying updates, we can't let anything hang us on
// quit+restart. The user has no recourse.
pref("shutdown.watchdog.timeoutSecs", 5);
pref("shutdown.watchdog.timeoutSecs", 10);
// Timeout before the update prompt automatically installs the update
pref("b2g.update.apply-prompt-timeout", 60000); // milliseconds
// Amount of time to wait after the user is idle before prompting to apply an update
Expand Down
2 changes: 1 addition & 1 deletion dom/power/PowerManagerService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ PowerManagerService::Init()
// absent, in case the profile might be damaged and we need to
// restart to repair it.
mWatchdogTimeoutSecs =
Preferences::GetInt("shutdown.watchdog.timeoutSecs", 5);
Preferences::GetInt("shutdown.watchdog.timeoutSecs", 10);
}

PowerManagerService::~PowerManagerService()
Expand Down

0 comments on commit e505a81

Please sign in to comment.