increased cache time to 1.5 days

This commit is contained in:
Henry Oswald 2015-10-21 10:02:30 +01:00
parent 3217b1d58f
commit 069220dcc8

View file

@ -5,7 +5,7 @@ async = require "async"
logger = require "logger-sharelatex" logger = require "logger-sharelatex"
module.exports = ProjectPersistenceManager = module.exports = ProjectPersistenceManager =
EXPIRY_TIMEOUT: oneDay = 24 * 60 * 60 * 1000 #ms EXPIRY_TIMEOUT: (oneDay = 24 * 60 * 60 * 1000) * 1.5 #ms
markProjectAsJustAccessed: (project_id, callback = (error) ->) -> markProjectAsJustAccessed: (project_id, callback = (error) ->) ->
db.Project.findOrCreate(where: {project_id: project_id}) db.Project.findOrCreate(where: {project_id: project_id})