mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
temporarily disable ttl behaviour
allow existing packs without temporary flag to expire
This commit is contained in:
parent
3f388fb0ac
commit
98683de3ae
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ module.exports = PackManager =
|
|||
return callback(err) if err?
|
||||
if not pack?
|
||||
MongoAWS.unArchivePack project_id, doc_id, pack_id, callback
|
||||
else if pack.expiresAt? and not pack.temporary
|
||||
else if pack.expiresAt? and not pack.temporary and false # TODO: remove false, temporarily disabled
|
||||
# we only need to touch the TTL on the listing of changes in the project
|
||||
# because diffs on individual documents are always done after that
|
||||
PackManager.increaseTTL pack, callback
|
||||
|
|
Loading…
Reference in a new issue