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

This commit is contained in:
robot-clickhouse 2024-11-05 09:09:41 +00:00
parent efad00478f
commit 55f6ab336b

View File

@ -1351,9 +1351,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)