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

Update database timestamp when user is seen again #12

Open
khaytsus opened this issue Oct 25, 2013 · 1 comment
Open

Update database timestamp when user is seen again #12

khaytsus opened this issue Oct 25, 2013 · 1 comment

Comments

@khaytsus
Copy link

In order to keep the database a sane size, it might be a good idea to update the added column when a user is seen and already in the database. Then a script can be ran externally to irssi to delete records older than N days.

I've done this in my fork in the following commit, but since I've tweaked a bunch of other little things I'm not quite sure how to do a pull request.

SHA: 5e54e13

@khaytsus
Copy link
Author

Honestly this is a bit of an XY problem. I'm stating a solution but didn't state the problem...

I've finding irssi freezing up on me every time stalker does something in the database. I'm going to go ahead and log a separate issue about that.

I wasn't sure what else to do besides clean up old records. Also, it's not a terrible thing to have the ability to do anyway. I'd personally maybe make it one year vs three months like I've defaulted to in my script, if needed at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant