Open uyjulian opened 5 months ago
Could you give any specific examples of the conditions under which you'd need to repair the database? It's not something that's generally doable while the server is online and requires a restart either way, so I'm curious if we can solve your problems some other way.
I'm not really concerned about repairing the database, but more detecting the condition that the database is corrupted and automatically deleting it.
This is mainly prompted by constant LiteDB error spews on my instance
Add an option to periodically cleanup/reset the litedb database on certain conditions. The ones I mostly care about are on startup, on repair flag set (due to database corruption detected on runtime).