diff --git a/webextensions/background/migration.js b/webextensions/background/migration.js index fda7caeb1..7bcae6bae 100644 --- a/webextensions/background/migration.js +++ b/webextensions/background/migration.js @@ -22,7 +22,7 @@ function log(...args) { internalLogger('background/migration', ...args); } -const kCONFIGS_VERSION = 28; +const kCONFIGS_VERSION = 29; const kFEATURES_VERSION = 9; export function migrateConfigs() { @@ -268,6 +268,10 @@ export function migrateConfigs() { case 27: if (configs.openAllBookmarksWithGroupAlways !== null) configs.suppressGroupTabForStructuredTabsFromBookmarks = !configs.openAllBookmarksWithGroupAlways; + + case 28: + if (configs.heartbeatInterval == 1000) + configs.heartbeatInterval = configs.$default.heartbeatInterval; } configs.configsVersion = kCONFIGS_VERSION; } diff --git a/webextensions/common/common.js b/webextensions/common/common.js index 05c6644fe..93021e989 100644 --- a/webextensions/common/common.js +++ b/webextensions/common/common.js @@ -324,7 +324,7 @@ export const configs = new Configs({ enableWorkaroundForBug1763420_reloadMaskImage: true, // workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1763420 maximumDelayForBug1561879: 500, workaroundForBug1548949DroppedTabs: null, - heartbeatInterval: 1000, + heartbeatInterval: 5000, connectionTimeoutDelay: 500, maximumAcceptableDelayForTabDuplication: 10 * 1000, maximumDelayUntilTabIsTracked: 10 * 60 * 1000,