Merge pull request #71449 from ClickHouse/backport/24.9/71384

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 12:14:59 +01:00 committed by GitHub
commit ecb795c9bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)