mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
increased cache time to 1.5 days
This commit is contained in:
parent
3217b1d58f
commit
069220dcc8
1 changed files with 1 additions and 1 deletions
|
@ -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})
|
||||||
|
|
Loading…
Reference in a new issue