Increase update interval to 120 seconds and adjust auto-refresh fallback to 300 seconds for improved performance.

This commit is contained in:
Phoenix
2025-08-07 23:14:59 +08:00
parent 96b6e3dcd9
commit e842b7d73e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
"BasePath": "/api" "BasePath": "/api"
}, },
"MonitoringSettings": { "MonitoringSettings": {
"UpdateIntervalMs": 5000, "UpdateIntervalMs": 120000,
"DataRetentionDays": 7, "DataRetentionDays": 7,
"EnableGpuMonitoring": true, "EnableGpuMonitoring": true,
"EnableDiskMonitoring": true, "EnableDiskMonitoring": true,
+1 -1
View File
@@ -141,7 +141,7 @@ class ResourceDashboard {
if (this.autoRefreshEnabled) { if (this.autoRefreshEnabled) {
this.refreshData(); this.refreshData();
} }
}, 60000); // 60 second fallback }, 300000); // 300 second fallback
} }
stopAutoRefresh() { stopAutoRefresh() {