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

This commit is contained in:
Richard Newman 2015-10-30 22:19:56 -07:00
parent db3aaf2c33
commit 02404d5c47
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);