Selaa lähdekoodia

increase the maxJSONDecodeRetry in json log reader

Signed-off-by: Shijiang Wei <mountkin@gmail.com>
Shijiang Wei 9 vuotta sitten
vanhempi
commit
a82f9ac819
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      daemon/logger/jsonfilelog/jsonfilelog.go

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

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