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

Reuse peer data with same task id #348

Closed
jim3ma opened this issue Jun 16, 2021 · 0 comments · Fixed by #347
Closed

Reuse peer data with same task id #348

jim3ma opened this issue Jun 16, 2021 · 0 comments · Fixed by #347

Comments

@jim3ma
Copy link
Member

jim3ma commented Jun 16, 2021

Feature request:

Currently, when downloads peers data with same task id, dfget will write multiple times. We need an option to reuse the underlying data which is already downloaded.

Use case:

two peer with same id, peer1 downloaded first, then peer2 starts.

currently:

  • peer1/task-000 -> /data/task-000/peer1
  • peer2/task-000 -> /data/task-000/peer2

reuse peer data:

  • peer1/task-000 -> /data/task-000/peer1
  • peer2/task-000 -> /data/task-000/peer1

when peer1 is ok, peer2 will reuse the peer1 data directly.

UI Example:

@244372610 244372610 linked a pull request Jun 17, 2021 that will close this issue
11 tasks
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

Successfully merging a pull request may close this issue.

1 participant