From ce4e0724779812abc2394f4d150b77ec744a0704 Mon Sep 17 00:00:00 2001 From: robot-clickhouse Date: Tue, 5 Nov 2024 09:09:16 +0000 Subject: [PATCH] Backport #71384 to 24.9: memory_worker shall be started on non-Linux OS too --- programs/server/Server.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/server/Server.cpp b/programs/server/Server.cpp index 1413d63529e..b002cc613be 100644 --- a/programs/server/Server.cpp +++ b/programs/server/Server.cpp @@ -1229,9 +1229,11 @@ try } FailPointInjection::enableFromGlobalConfig(config()); +#endif memory_worker.start(); +#if defined(OS_LINUX) int default_oom_score = 0; #if !defined(NDEBUG)