Przeglądaj źródła

respect mongo bulk operations limit of 1000 operations

Brian Gough 11 lat temu
rodzic
commit
e1aa436286

+ 1 - 1
services/track-changes/app/coffee/MongoAWS.coffee

@@ -9,7 +9,7 @@ ReadlineStream = require "readline-stream"
 module.exports = MongoAWS =
 module.exports = MongoAWS =
 
 
 	MAX_SIZE:  1024*1024 # almost max size
 	MAX_SIZE:  1024*1024 # almost max size
-	MAX_COUNT: 1024 # almost max count
+	MAX_COUNT: 512 # almost max count
 
 
 	archiveDocHistory: (project_id, doc_id, update, _callback = (error) ->) ->
 	archiveDocHistory: (project_id, doc_id, update, _callback = (error) ->) ->