Increase update interval to 120 seconds and adjust auto-refresh fallback to 300 seconds for improved performance.
This commit is contained in:
+1
-1
@@ -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,
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user