debug: worker stall check

This commit is contained in:
Móricz Gergő
2024-11-08 20:19:44 +01:00
parent ef505f8d99
commit 085ac3e71c
2 changed files with 15 additions and 2 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ class SystemMonitor {
return SystemMonitor.instance;
}
private async checkMemoryUsage() {
public async checkMemoryUsage() {
if (IS_KUBERNETES) {
return this._checkMemoryUsageKubernetes();
}
@@ -102,7 +102,7 @@ class SystemMonitor {
return usedMemoryPercentage;
}
private async checkCpuUsage() {
public async checkCpuUsage() {
if (IS_KUBERNETES) {
return this._checkCpuUsageKubernetes();
}