diff --git a/src/Core/SettingsQuirks.cpp b/src/Core/SettingsQuirks.cpp index 0dd2d80caf6..5e7d02dc448 100644 --- a/src/Core/SettingsQuirks.cpp +++ b/src/Core/SettingsQuirks.cpp @@ -101,7 +101,7 @@ void doSettingsSanityCheckClamp(Settings & current_settings, LoggerPtr log) }; UInt64 max_threads = getCurrentValue("max_threads").get(); - UInt64 max_threads_max_value = 65536 * getNumberOfPhysicalCPUCores(); + UInt64 max_threads_max_value = 256 * getNumberOfPhysicalCPUCores(); if (max_threads > max_threads_max_value) { if (log)