aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-21 17:14:24 +0100
committerStefan Boberg <[email protected]>2026-03-21 17:14:24 +0100
commit5591e5701ff9ffc4e6919dff87231ae96e00bf41 (patch)
tree4c9afa0f5e2548ab705b20cf20a0414320c43be3
parentAdd version annotation for vendored rpmalloc (diff)
downloadzen-sb/mimalloc227.tar.xz
zen-sb/mimalloc227.zip
Show memory allocator in runtime config, remove IsPowerCyclesb/mimalloc227
- Add MemoryAllocator to the health/info runtime config settings - Remove IsPowerCycle as it's not useful on the info page
-rw-r--r--src/zenserver/zenserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp
index 8665a7cd2..49cbbb9fc 100644
--- a/src/zenserver/zenserver.cpp
+++ b/src/zenserver/zenserver.cpp
@@ -479,9 +479,9 @@ ZenServerBase::BuildSettingsList(const ZenServerConfig& ServerConfig)
{"ContentDir"sv, fmt::format("{}", ServerConfig.ContentDir)},
{"BasePort"sv, fmt::to_string(ServerConfig.BasePort)},
{"CoreLimit"sv, fmt::to_string(ServerConfig.CoreLimit)},
+ {"MemoryAllocator"sv, std::string(GMalloc->GetName())},
{"IsDebug"sv, fmt::to_string(ServerConfig.IsDebug)},
{"IsCleanStart"sv, fmt::to_string(ServerConfig.IsCleanStart)},
- {"IsPowerCycle"sv, fmt::to_string(ServerConfig.IsPowerCycle)},
{"IsTest"sv, fmt::to_string(ServerConfig.IsTest)},
{"Detach"sv, fmt::to_string(ServerConfig.Detach)},
{"NoConsoleOutput"sv, fmt::to_string(ServerConfig.LoggingConfig.NoConsoleOutput)},