From 6c80a59364ec21b3d6a3cb93635c800e92b076ad Mon Sep 17 00:00:00 2001 From: Valentin Balaschenko <13349202+vlntb@users.noreply.github.com> Date: Mon, 2 Jun 2025 19:20:45 +0100 Subject: [PATCH] all hw threads --- include/xrpl/basics/partitioned_unordered_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xrpl/basics/partitioned_unordered_map.h b/include/xrpl/basics/partitioned_unordered_map.h index b855fec558..90d4ea5ed8 100644 --- a/include/xrpl/basics/partitioned_unordered_map.h +++ b/include/xrpl/basics/partitioned_unordered_map.h @@ -255,7 +255,7 @@ public: { // Set partitions to use half of the number of hardware threads if the // parameter is either empty or set to 0. - partitions_ = std::size_t{std::thread::hardware_concurrency() / 2}; + partitions_ = std::size_t{std::thread::hardware_concurrency()}; // partitions && *partitions // ? *partitions // : std::size_t{std::thread::hardware_concurrency() / 2};