fix variable zip.minsize to match config name zip.minSize

This commit is contained in:
Brian Gough 2015-03-27 17:00:30 +00:00
parent 66fa170ac8
commit 03564b2138

View file

@ -4,7 +4,7 @@ metrics = require('./Metrics')
zlib = require('zlib')
ZIP_WRITES_ENABLED = Settings.redis.zip?.writesEnabled?
ZIP_MINSIZE = Settings.redis.zip?.minsize || 64*1024
ZIP_MINSIZE = Settings.redis.zip?.minSize || 64*1024
module.exports = ZipManager =
uncompressIfNeeded: (doc_id, result, callback) ->