Reduce limit to actuall 1Mb, not 1Gb

This commit is contained in:
James Allen 2015-11-30 15:40:03 +00:00
parent 0372fa3203
commit 92d18d7e2e

View file

@ -3,7 +3,7 @@ settings = require 'settings-sharelatex'
redis = require("redis-sharelatex") redis = require("redis-sharelatex")
rclient = redis.createClient(settings.redis.web) rclient = redis.createClient(settings.redis.web)
MESSAGE_SIZE_LOG_LIMIT = 1024 * 1024 * 1024 # 1Mb MESSAGE_SIZE_LOG_LIMIT = 1024 * 1024 # 1Mb
module.exports = DocumentUpdaterController = module.exports = DocumentUpdaterController =
# DocumentUpdaterController is responsible for updates that come via Redis # DocumentUpdaterController is responsible for updates that come via Redis