Merge pull request #8198 from overleaf/jpa-device-history-90-days

[web] bump expiry of device history to 90 days

GitOrigin-RevId: bcaa1828064b7aa51ecf4ea0f86ad6458cf97663
This commit is contained in:
Timothée Alby 2022-05-30 12:18:52 +02:00 committed by Copybot
parent 20d5291308
commit ce3c3d4435

View file

@ -451,7 +451,7 @@ module.exports = {
cookieName: process.env.DEVICE_HISTORY_COOKIE_NAME || 'deviceHistory',
entryExpiry:
parseInt(process.env.DEVICE_HISTORY_ENTRY_EXPIRY_MS, 10) ||
30 * 24 * 60 * 60 * 1000,
90 * 24 * 60 * 60 * 1000,
maxEntries: parseInt(process.env.DEVICE_HISTORY_MAX_ENTRIES, 10) || 10,
secret: process.env.DEVICE_HISTORY_SECRET,
},