瀏覽代碼

Reduce limit to actuall 1Mb, not 1Gb

James Allen 11 年之前
父節點
當前提交
92d18d7e2e
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/real-time/app/coffee/DocumentUpdaterController.coffee

+ 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