From e9f8f62796a059c7f4dc1350b83f9bb3fe74d1d6 Mon Sep 17 00:00:00 2001 From: Seefs Date: Thu, 19 Mar 2026 16:58:13 +0800 Subject: [PATCH] fix: raise default overload disk threshold to 95% --- setting/performance_setting/config.go | 2 +- web/src/pages/Setting/Performance/SettingsPerformance.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setting/performance_setting/config.go b/setting/performance_setting/config.go index b4baff87..4f02dc7b 100644 --- a/setting/performance_setting/config.go +++ b/setting/performance_setting/config.go @@ -36,7 +36,7 @@ var performanceSetting = PerformanceSetting{ MonitorEnabled: true, MonitorCPUThreshold: 90, MonitorMemoryThreshold: 90, - MonitorDiskThreshold: 90, + MonitorDiskThreshold: 95, } func init() { diff --git a/web/src/pages/Setting/Performance/SettingsPerformance.jsx b/web/src/pages/Setting/Performance/SettingsPerformance.jsx index 14669506..c94e4207 100644 --- a/web/src/pages/Setting/Performance/SettingsPerformance.jsx +++ b/web/src/pages/Setting/Performance/SettingsPerformance.jsx @@ -68,7 +68,7 @@ export default function SettingsPerformance(props) { 'performance_setting.monitor_enabled': false, 'performance_setting.monitor_cpu_threshold': 90, 'performance_setting.monitor_memory_threshold': 90, - 'performance_setting.monitor_disk_threshold': 90, + 'performance_setting.monitor_disk_threshold': 95, }); const refForm = useRef(); const [inputsRow, setInputsRow] = useState(inputs);