Browse Source

!500 调高递归保护阀值

Merge pull request !500 from gengchao/depth_modify
pull/499/MERGE
计晨 Gitee 3 years ago
parent
commit
c7c2edca4b
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      parser/common/convert/pb2json.cc

+ 1
- 1
parser/common/convert/pb2json.cc View File

@@ -31,7 +31,7 @@ using std::string;
namespace ge {
namespace {
const int kSignificantDigits = 10;
const int kMaxParseDepth = 5;
const int kMaxParseDepth = 20;
}
// JSON parses non utf8 character throwing exceptions, so some fields need to be shielded through black fields
FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY void Pb2Json::Message2Json(const ProtobufMsg &message,


Loading…
Cancel
Save