Переглянути джерело

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.