Merge pull request #10240

dc1d0dd cryptonote_core: set prep-blocks-threads to max threads (0xfffc)

ACKs: jpk68, selsta
This commit is contained in:
tobtoht
2026-07-27 10:21:06 +00:00
+2 -1
View File
@@ -37,6 +37,7 @@
using namespace epee;
#include <unordered_set>
#include <thread>
#include "cryptonote_core.h"
#include "common/util.h"
#include "common/updates.h"
@@ -150,7 +151,7 @@ namespace cryptonote
static const command_line::arg_descriptor<uint64_t> arg_prep_blocks_threads = {
"prep-blocks-threads"
, "Max number of threads to use when preparing block hashes in groups."
, 4
, std::thread::hardware_concurrency() > 0 ? std::thread::hardware_concurrency() : 4
};
static const command_line::arg_descriptor<uint64_t> arg_show_time_stats = {
"show-time-stats"