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

Close drives after finishing request #19

Open
RangerMauve opened this issue Nov 5, 2020 · 0 comments
Open

Close drives after finishing request #19

RangerMauve opened this issue Nov 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@RangerMauve
Copy link
Owner

We currently have a memory leak where any drives that get processed with dat-fetch are loaded indefinitely.

To solve this we should call drive.close after the request is finished.

This will mean that applications will need to implement their own methods for seeding drives.

Maybe this should come with a PIN and UNPIN method for keeping a drive online and seeded?

@RangerMauve RangerMauve added the enhancement New feature or request label Nov 5, 2020
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