Backport #71384 to 24.9: memory_worker shall be started on non-Linux OS too

This commit is contained in:
robot-clickhouse 2024-11-05 09:09:16 +00:00
parent 5f334371b7
commit ce4e072477

View File

@ -1229,9 +1229,11 @@ try
} }
FailPointInjection::enableFromGlobalConfig(config()); FailPointInjection::enableFromGlobalConfig(config());
#endif
memory_worker.start(); memory_worker.start();
#if defined(OS_LINUX)
int default_oom_score = 0; int default_oom_score = 0;
#if !defined(NDEBUG) #if !defined(NDEBUG)