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

Garbage collection for torrents #4

Open
Ivshti opened this issue Aug 31, 2015 · 2 comments
Open

Garbage collection for torrents #4

Ivshti opened this issue Aug 31, 2015 · 2 comments

Comments

@Ivshti
Copy link
Collaborator

Ivshti commented Aug 31, 2015

If a torrent hasn't been seeded or recently updated, we can garbage collect it.

Maybe this should be default behaviour, maybe not.

@sammuel86 @jaruba thoughts?

@jaruba
Copy link
Owner

jaruba commented Sep 2, 2015

It might be wise to give the option of not saving anything in a db, and also a way to delete the entire thing.

@Ivshti
Copy link
Collaborator Author

Ivshti commented Sep 7, 2015

well, it can be very easily made to work in an in-memory db

I forgot to mention that to you but I realize now it's going to be great for your purposes.

To make it happen, we must patch mafintosh/multi-master-merge to work on top of another key-value store. Should be easy

Garbage collection is also something mmm must be patched for, since currently it doesn't delete stale log entries. I tried to patch it to do, but it exploded in some cases with KeyNotFound. In theory, this error should just be intercepted and ignored, but I haven't put time into figuring out how to do it

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

No branches or pull requests

2 participants