From a82f9ac81956c6b63772c9c720878d377dd9ee02 Mon Sep 17 00:00:00 2001 From: Shijiang Wei Date: Mon, 2 Nov 2015 17:51:17 +0800 Subject: [PATCH] increase the maxJSONDecodeRetry in json log reader Signed-off-by: Shijiang Wei --- daemon/logger/jsonfilelog/jsonfilelog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/logger/jsonfilelog/jsonfilelog.go b/daemon/logger/jsonfilelog/jsonfilelog.go index 09012c59c6..2b482d1f38 100644 --- a/daemon/logger/jsonfilelog/jsonfilelog.go +++ b/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.