Give the server a chance

This commit is contained in:
Raúl Marín 2024-04-29 21:08:56 +02:00
parent 16727097b2
commit 5355decc73

View File

@ -101,7 +101,7 @@ void doSettingsSanityCheckClamp(Settings & current_settings, LoggerPtr log)
};
UInt64 max_threads = getCurrentValue("max_threads").get<UInt64>();
UInt64 max_threads_max_value = 65536 * getNumberOfPhysicalCPUCores();
UInt64 max_threads_max_value = 256 * getNumberOfPhysicalCPUCores();
if (max_threads > max_threads_max_value)
{
if (log)