浏览代码

increase the maxJSONDecodeRetry in json log reader

Signed-off-by: Shijiang Wei <mountkin@gmail.com>
Shijiang Wei 9 年之前
父节点
当前提交
a82f9ac819
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/logger/jsonfilelog/jsonfilelog.go

+ 1 - 1
daemon/logger/jsonfilelog/jsonfilelog.go

@@ -28,7 +28,7 @@ import (
 const (
 	// Name is the name of the file that the jsonlogger logs to.
 	Name               = "json-file"
-	maxJSONDecodeRetry = 10
+	maxJSONDecodeRetry = 20000
 )
 
 // JSONFileLogger is Logger implementation for default Docker logging.