diff --git a/src/lua/utils.c b/src/lua/utils.c index 6b545b816359669e77d2b5493ae24f3046f9fd27..1ddc54427615bc184ce8984928349a1ddd499620 100644 --- a/src/lua/utils.c +++ b/src/lua/utils.c @@ -234,7 +234,7 @@ static struct { OPTION(LUA_TBOOLEAN, encode_sparse_convert, 1), OPTION(LUA_TNUMBER, encode_sparse_ratio, 2), OPTION(LUA_TNUMBER, encode_sparse_safe, 10), - OPTION(LUA_TNUMBER, encode_max_depth, 32), + OPTION(LUA_TNUMBER, encode_max_depth, 128), OPTION(LUA_TBOOLEAN, encode_deep_as_nil, 0), OPTION(LUA_TBOOLEAN, encode_invalid_numbers, 1), OPTION(LUA_TNUMBER, encode_number_precision, 14), @@ -243,7 +243,7 @@ static struct { OPTION(LUA_TBOOLEAN, encode_invalid_as_nil, 0), OPTION(LUA_TBOOLEAN, decode_invalid_numbers, 1), OPTION(LUA_TBOOLEAN, decode_save_metatables, 1), - OPTION(LUA_TNUMBER, decode_max_depth, 32), + OPTION(LUA_TNUMBER, decode_max_depth, 128), { NULL, 0, 0, 0}, };