mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 03:42:24 +00:00
compressedUpdates are now never inserted with inS3
it is now always added later, and a new update is forced for any addition to an archived update
This commit is contained in:
parent
d6b827426c
commit
551e8334cf
1 changed files with 0 additions and 3 deletions
|
@ -59,7 +59,6 @@ module.exports = MongoManager =
|
|||
|
||||
|
||||
insertCompressedUpdate: (project_id, doc_id, update, temporary, callback = (error) ->) ->
|
||||
inS3 = update.inS3?
|
||||
update = {
|
||||
doc_id: ObjectId(doc_id.toString())
|
||||
project_id: ObjectId(project_id.toString())
|
||||
|
@ -67,8 +66,6 @@ module.exports = MongoManager =
|
|||
meta: update.meta
|
||||
v: update.v
|
||||
}
|
||||
if inS3
|
||||
update.inS3 = true
|
||||
|
||||
if temporary
|
||||
seconds = 1000
|
||||
|
|
Loading…
Reference in a new issue