parallesim a bit of improvement

This commit is contained in:
vaclavt
2022-01-19 19:29:25 +01:00
parent 471f218bdf
commit 33554706a4
4 changed files with 28 additions and 7 deletions

View File

@@ -12,7 +12,8 @@ std::vector<std::pair<std::string, std::string>> Settings::m_settings =
std::make_pair("BOOL_TRUE_LITERAL", "Y"),
std::make_pair("BOOL_FALSE_LITERAL", "N"),
std::make_pair("DOUBLE_FORMAT", "%.2f"),
std::make_pair("USE_INDEXSCAN", "N") };
std::make_pair("USE_INDEXSCAN", "N"),
std::make_pair("MAX_PARALLELISM", "1") }; // values "AUTO" or number of workers; when number negative means std::thread::hardware_concurrency() - number