Преглед на файлове

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
Brian Gough преди 11 години
родител
ревизия
551e8334cf
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      services/track-changes/app/coffee/MongoManager.coffee

+ 0 - 3
services/track-changes/app/coffee/MongoManager.coffee

@@ -59,7 +59,6 @@ module.exports = MongoManager =
 
 
 
 
 	insertCompressedUpdate: (project_id, doc_id, update, temporary, callback = (error) ->) ->
 	insertCompressedUpdate: (project_id, doc_id, update, temporary, callback = (error) ->) ->
-		inS3 = update.inS3?
 		update = {
 		update = {
 			doc_id: ObjectId(doc_id.toString())
 			doc_id: ObjectId(doc_id.toString())
 			project_id: ObjectId(project_id.toString())
 			project_id: ObjectId(project_id.toString())
@@ -67,8 +66,6 @@ module.exports = MongoManager =
 			meta:   update.meta
 			meta:   update.meta
 			v:      update.v
 			v:      update.v
 		}
 		}
-		if inS3
-			update.inS3 = true
 		
 		
 		if temporary
 		if temporary
 			seconds = 1000
 			seconds = 1000