Explorar el Código

decrease delay when packing

Brian Gough hace 10 años
padre
commit
78b3412ca8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/track-changes/app/coffee/PackManager.coffee

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

@@ -409,7 +409,7 @@ module.exports = PackManager =
 					}, {upsert:true}, () ->
 						callback null, null
 
-	DB_WRITE_DELAY: 2000
+	DB_WRITE_DELAY: 100
 
 	savePacks: (packs, callback) ->
 		async.eachSeries packs, PackManager.safeInsert, (err, result) ->