Disable slow system metrics function because it really is slow and chokes the update loop

ryzomclassic-develop
kaetemi 4 years ago
parent cb9094f091
commit 3f63f27143
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -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<IVariable*>(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

Loading…
Cancel
Save