Skip to content
Snippets Groups Projects
Commit 29e9e51e authored by dongjulim's avatar dongjulim
Browse files

fix upper warning limit

parent 407420c6
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ pub fn disk_checker(
}
for dri in df_result_infos {
if (dri.used as f64 / (dri.available + dri.used) as f64 * 100.0) > 60.0 {
if (dri.used as f64 / (dri.available + dri.used) as f64 * 100.0) > 90.0 { //todo : 상한선 config로 받기
// println!("!!!{} {}", dri.filesystem, dri.use_percentage);
let msg = WarningMsg {
war_type: WarningType::DiskFull,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment