Explorar o código

Reduce limit to actuall 1Mb, not 1Gb

James Allen %!s(int64=11) %!d(string=hai) anos
pai
achega
92d18d7e2e

+ 1 - 1
services/real-time/app/coffee/DocumentUpdaterController.coffee

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