Bug 643633 - Remove TTLs from form history records. r=markh,nalexander

--HG--
extra : commitid : HxQHAP2SacO
This commit is contained in:
Richard Newman 2015-10-30 22:19:56 -07:00
parent f366d6cb63
commit f24fea9d1a
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ public class FormHistoryRecord extends Record {
public static final String COLLECTION_NAME = "forms";
private static final String PAYLOAD_NAME = "name";
private static final String PAYLOAD_VALUE = "value";
public static final long FORMS_TTL = 60 * 24 * 60 * 60; // 60 days in seconds.
public static final long FORMS_TTL = 3 * 365 * 24 * 60 * 60; // Three years in seconds.
/**
* The name of the saved form field.

View File

@ -16,7 +16,7 @@ Cu.import("resource://services-sync/util.js");
Cu.import("resource://services-sync/constants.js");
Cu.import("resource://gre/modules/Log.jsm");
const FORMS_TTL = 5184000; // 60 days
const FORMS_TTL = 3 * 365 * 24 * 60 * 60; // Three years in seconds.
this.FormRec = function FormRec(collection, id) {
CryptoWrapper.call(this, collection, id);