Temp disable metrics runtime access

This commit is contained in:
libraryaddict 2024-01-12 14:05:14 +13:00
parent 73f2247a76
commit 2f4a8d695d

View File

@ -214,7 +214,7 @@ public class Metrics {
String osName = System.getProperty("os.name");
String osArch = System.getProperty("os.arch");
String osVersion = System.getProperty("os.version");
int coreCount = Runtime.getRuntime().availableProcessors();
//int coreCount = Runtime.getRuntime().availableProcessors();
JsonObject data = new JsonObject();
@ -228,7 +228,7 @@ public class Metrics {
data.addProperty("osName", osName);
data.addProperty("osArch", osArch);
data.addProperty("osVersion", osVersion);
data.addProperty("coreCount", coreCount);
//data.addProperty("coreCount", coreCount);
return data;
}