fix: raise default overload disk threshold to 95%

This commit is contained in:
Seefs
2026-03-19 16:58:13 +08:00
parent 5fe8e98eeb
commit e9f8f62796
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ var performanceSetting = PerformanceSetting{
MonitorEnabled: true, MonitorEnabled: true,
MonitorCPUThreshold: 90, MonitorCPUThreshold: 90,
MonitorMemoryThreshold: 90, MonitorMemoryThreshold: 90,
MonitorDiskThreshold: 90, MonitorDiskThreshold: 95,
} }
func init() { func init() {

View File

@@ -68,7 +68,7 @@ export default function SettingsPerformance(props) {
'performance_setting.monitor_enabled': false, 'performance_setting.monitor_enabled': false,
'performance_setting.monitor_cpu_threshold': 90, 'performance_setting.monitor_cpu_threshold': 90,
'performance_setting.monitor_memory_threshold': 90, 'performance_setting.monitor_memory_threshold': 90,
'performance_setting.monitor_disk_threshold': 90, 'performance_setting.monitor_disk_threshold': 95,
}); });
const refForm = useRef(); const refForm = useRef();
const [inputsRow, setInputsRow] = useState(inputs); const [inputsRow, setInputsRow] = useState(inputs);