Skip to content

Commit

Permalink
fix: set used disk space warning threshold to 90
Browse files Browse the repository at this point in the history
  • Loading branch information
keenthekeen committed Aug 28, 2024
1 parent 28e5ab5 commit fc99b2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public function boot()
ScheduleCheck::new()->heartbeatMaxAgeInMinutes(60),
StorageCheck::new(),
// Disk space check only works on Linux
UsedDiskSpaceCheck::new()->failWhenUsedSpaceIsAbovePercentage(95),
UsedDiskSpaceCheck::new()->warnWhenUsedSpaceIsAbovePercentage(90)
->failWhenUsedSpaceIsAbovePercentage(95),
]);
}
}

0 comments on commit fc99b2c

Please sign in to comment.