mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 643633 - Remove TTLs from form history records. r=markh,nalexander
--HG-- extra : commitid : HxQHAP2SacO
This commit is contained in:
parent
f366d6cb63
commit
f24fea9d1a
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user