Просмотр исходного кода

fix: raise default overload disk threshold to 95%

Seefs 1 месяц назад
Родитель
Сommit
e9f8f62796

+ 1 - 1
setting/performance_setting/config.go

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

+ 1 - 1
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);