Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete old logs automatically #28

Closed
alxndrsn opened this issue Dec 1, 2016 · 1 comment
Closed

delete old logs automatically #28

alxndrsn opened this issue Dec 1, 2016 · 1 comment
Labels
Type: Improvement Make something better

Comments

@alxndrsn
Copy link
Contributor

alxndrsn commented Dec 1, 2016

Work out a schedule (e.g. every hour, every day, every phone restart, every time the data gets too big) and delete old data automatically as per #27. This should maybe be configurable via Settings.

@alxndrsn alxndrsn added the Type: Improvement Make something better label Dec 1, 2016
@alxndrsn
Copy link
Contributor Author

alxndrsn commented Dec 1, 2016

N.B. if using a time-based trigger, take care with the interaction of multiple types of "wakeful" work.

@alxndrsn alxndrsn closed this as completed Mar 2, 2017
alxndrsn added a commit that referenced this issue Mar 3, 2017
At the start of wakeful work, delete old event log messages if there are more
than the prescribed limit in the database.

This should mitigate #45 under reasonable behaviour.

Issue: #28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement Make something better
Projects
None yet
Development

No branches or pull requests

1 participant