move back to 2.5 days cache for moment

This commit is contained in:
Henry Oswald 2016-04-21 17:40:09 +01:00
parent e024d3f503
commit 7ab1654ebc

View file

@ -7,7 +7,7 @@ oneDay = 24 * 60 * 60 * 1000
module.exports = ProjectPersistenceManager =
EXPIRY_TIMEOUT: oneDay * 3.5
EXPIRY_TIMEOUT: oneDay * 2.5
markProjectAsJustAccessed: (project_id, callback = (error) ->) ->
db.Project.findOrCreate(where: {project_id: project_id})