Skip to content

Commit

Permalink
Bug 1880159 - Increase the Default Agent background task timeout to p…
Browse files Browse the repository at this point in the history
…revent races when notifications wait. r=nalexander a=pascalc

Original Revision: https://phabricator.services.mozilla.com/D201749

Differential Revision: https://phabricator.services.mozilla.com/D201755
  • Loading branch information
PrototypeNM1 committed Jan 1, 1970
1 parent 7830405 commit f8704c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ ChromeUtils.defineLazyGetter(lazy, "log", () => {

// Should be slightly longer than NOTIFICATION_WAIT_TIMEOUT_MS in
// Notification.cpp (divided by 1000 to convert millseconds to seconds) to not
// cause race between timeouts. Currently 12 hours + 10 additional seconds.
export const backgroundTaskTimeoutSec = 12 * 60 * 60 + 10;
// cause race between timeouts. Currently 12 hours + 5 additional minutes.
export const backgroundTaskTimeoutSec = 12 * 60 * 60 + 60 * 5;
const kNotificationTimeoutMs = 12 * 60 * 60 * 1000;

const kNotificationShown = Object.freeze({
Expand Down

0 comments on commit f8704c8

Please sign in to comment.