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

Clear older items in _hist file after certain length of time #3

Open
julianorchard opened this issue Feb 5, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@julianorchard
Copy link
Owner

The only note about this would be that it should do it in a robust way: it should check how many posts from each account/subreddit/etc. is in this hist file and then only remove the links from accounts/subreddits/etc. with over a certain number of posts in the hist file.

This is because, for example, if we set the hist file to remove all but 500 lines from the hist file every time, accounts that don't post as much will have their old notifications pop up immediately, I think (depending on how each service works).

@julianorchard julianorchard added the enhancement New feature or request label Feb 5, 2023
@julianorchard julianorchard self-assigned this Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant