Bug 1319433 - Bump tabs engine TTL to 21 days. r?markh draft
authorEdouard Oger <eoger@fastmail.com>
Mon, 23 Jan 2017 11:05:41 -0500
changeset 464991 febb6f67b3f2c8708e96c59b9e41611e891d960a
parent 464990 5a4412474c63e1d9e66036d603ac42e9cb2b9150
child 543070 dbaf5c15d1fbc8427c6a932bd30647d01cd08a0e
push id42514
push userbmo:eoger@fastmail.com
push dateMon, 23 Jan 2017 16:05:28 +0000
reviewersmarkh
bugs1319433
milestone54.0a1
Bug 1319433 - Bump tabs engine TTL to 21 days. r?markh MozReview-Commit-ID: GdEZkQEdZMD
services/sync/modules/engines/tabs.js
--- a/services/sync/modules/engines/tabs.js
+++ b/services/sync/modules/engines/tabs.js
@@ -1,17 +1,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 this.EXPORTED_SYMBOLS = ["TabEngine", "TabSetRecord"];
 
 var {classes: Cc, interfaces: Ci, utils: Cu} = Components;
 
-const TABS_TTL = 604800;           // 7 days.
+const TABS_TTL = 1814400;          // 21 days.
 const TAB_ENTRIES_LIMIT = 25;      // How many URLs to include in tab history.
 
 Cu.import("resource://gre/modules/Preferences.jsm");
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 Cu.import("resource://services-sync/engines.js");
 Cu.import("resource://services-sync/engines/clients.js");
 Cu.import("resource://services-sync/record.js");
 Cu.import("resource://services-sync/util.js");