chiadog
chiadog copied to clipboard
Persist daily stats data
Shall we persist the daily stats data to a file before the program gets shut down/killed? I find it annoying that if I restarted the process and the count went back to 0
The tricky part will be to persist the data reliably even if the program doesn't exit nominally. What if the user closes the terminal window that runs chiadog
? It seems to me that it's necessary to persist the data continuously and not only before shutdown in order for it to work reliably.
If you find a good way to achieve it, that doesn't add some heavy dependencies and unnecessary complexity, I'd say why not?
But I see it as a rather nice-to-have, low priority feature.