diff --git a/ntcore/src/main/native/cpp/ntcore_meta.cpp b/ntcore/src/main/native/cpp/ntcore_meta.cpp index 05cb4b7b3df..3b947a01fde 100644 --- a/ntcore/src/main/native/cpp/ntcore_meta.cpp +++ b/ntcore/src/main/native/cpp/ntcore_meta.cpp @@ -39,7 +39,7 @@ std::optional> nt::meta::DecodeClientPublishers( std::span data) { mpack_reader_t r; mpack_reader_init_data(&r, data); - uint32_t numPub = mpack_expect_array_max(&r, 1000); + uint32_t numPub = mpack_expect_array_max(&r, 10000); std::vector publishers; publishers.reserve(numPub); for (uint32_t i = 0; i < numPub; ++i) { @@ -71,7 +71,7 @@ std::optional> nt::meta::DecodeClientSubscribers( std::span data) { mpack_reader_t r; mpack_reader_init_data(&r, data); - uint32_t numSub = mpack_expect_array_max(&r, 1000); + uint32_t numSub = mpack_expect_array_max(&r, 10000); std::vector subscribers; subscribers.reserve(numSub); for (uint32_t i = 0; i < numSub; ++i) {