HealthCheckResultHistoryItem doesn’t remove/delete previous entry when running schedule command RunHealthChecksCommand #193
Unanswered
faizananwerali
asked this question in
Q&A
Replies: 2 comments
-
Perhaps the model pruning will help you with this scheduled task:
You may need to adjust the value of See also the entry in the documentation: https://spatie.be/docs/laravel-health/v1/storing-results/in-the-database#content-pruning-the-results-table |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HealthCheckResultHistoryItem doesn’t remove the previous entry when running the schedule command.
which results in 613,127 Rows and 171.9 MiB storage for that table. which is not ideal and needed.
How do I fix this?
here is my
config/backup.php
code.`config/backup.php` code.
Beta Was this translation helpful? Give feedback.
All reactions