From 3f63f27143420b492e34b4743764380f3b35c2dc Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 8 Jun 2021 20:11:18 +0800 Subject: [PATCH] Disable slow system metrics function because it really is slow and chokes the update loop --- ryzom/server/src/admin_modules/aes_client_module.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ryzom/server/src/admin_modules/aes_client_module.cpp b/ryzom/server/src/admin_modules/aes_client_module.cpp index 7cb85f5a4..23024247a 100644 --- a/ryzom/server/src/admin_modules/aes_client_module.cpp +++ b/ryzom/server/src/admin_modules/aes_client_module.cpp @@ -271,9 +271,13 @@ namespace ADMIN if ((now & 0xf) == 0) { // every 16 seconds because very slow + /* + // FIXME: This is too slow IVariable *var = dynamic_cast(ICommand::getCommand("ProcessUsedMemory")); if (var != NULL) NLMISC::fromString(var->toString(), _ProcessUsedMemory); + */ + _ProcessUsedMemory = 0; } // at least one second as passed, check for updates to send to