Auto-Truncating Tasks, Or Failing That, An Easy Scout Command? #4470
Unanswered
TheFerrettDeveloper
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello @TheFerrettDeveloper 👋 Which version of Meilisearch are you using? Meilisearch has had automatic task deletion since version 1.2.0. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've got a Meilisearch instance with a high amount of changes, and we've routinely been caught by the "The Meilisearch Task database got so big it took up the entire container we had it in, and Meilisearch stops processing write tasks." Looking at the roadmap, I don't even see "Give Meilisearch a setting to automatically truncate old tasks if the task DB has over $setting entries" as a part of it, meaning that I believe the only solution we have at the moment is to hit the Tasks endpoint periodically and mass-delete them.
This is.... unsatisfying.
So two questions:
Is that a planned feature at some point and I'm missing it?
If it's not, is there a way to easily configure Laravel Scout to hit a tasks endpoint, or would I have to hack together some CURL-based solution of my own to schedule it?
Beta Was this translation helpful? Give feedback.
All reactions