mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
move back to 2.5 days cache for moment
This commit is contained in:
parent
e024d3f503
commit
7ab1654ebc
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ oneDay = 24 * 60 * 60 * 1000
|
||||||
|
|
||||||
module.exports = ProjectPersistenceManager =
|
module.exports = ProjectPersistenceManager =
|
||||||
|
|
||||||
EXPIRY_TIMEOUT: oneDay * 3.5
|
EXPIRY_TIMEOUT: oneDay * 2.5
|
||||||
|
|
||||||
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})
|
||||||
|
|
Loading…
Reference in a new issue