mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
all hw threads
This commit is contained in:
@@ -255,7 +255,7 @@ public:
|
|||||||
{
|
{
|
||||||
// Set partitions to use half of the number of hardware threads if the
|
// Set partitions to use half of the number of hardware threads if the
|
||||||
// parameter is either empty or set to 0.
|
// 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 && *partitions
|
||||||
// ? *partitions
|
// ? *partitions
|
||||||
// : std::size_t{std::thread::hardware_concurrency() / 2};
|
// : std::size_t{std::thread::hardware_concurrency() / 2};
|
||||||
|
|||||||
Reference in New Issue
Block a user