From e43e030ffa677937e4a4207419c968f921958ded Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Thu, 27 Oct 2022 11:56:34 +0900 Subject: [PATCH] Remove `FLUENT_OJ_OPTION_MAX_NESTING` This option doesn't take effect in actual since the global setting `Oj.default_options` doesn't accept `max_nesting`. It should be specified by each instances. https://github.com/fluent/fluentd/issues/3311#issuecomment-923741031 Signed-off-by: Takuro Ashie --- lib/fluent/oj_options.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fluent/oj_options.rb b/lib/fluent/oj_options.rb index a76e1f81ba..7ffacdb067 100644 --- a/lib/fluent/oj_options.rb +++ b/lib/fluent/oj_options.rb @@ -4,7 +4,6 @@ module Fluent class OjOptions OPTIONS = { 'bigdecimal_load': :symbol, - 'max_nesting': :integer, 'mode': :symbol, 'use_to_json': :bool }