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

Optimize seeding #1398

Merged
merged 2 commits into from Nov 28, 2018
Merged

Optimize seeding #1398

merged 2 commits into from Nov 28, 2018

Conversation

@KayleePop
Copy link
Contributor

KayleePop commented May 18, 2018

  • Stop verifying the hashes of files passed into client.seed() (we just calculated the hashes that are being checked)
  • Don't call torrent.load() when seeding an FS filepath. (fs-chunk-store is initialized using the same paths, so the files already exist in the store)

Fixes #524 and fixes #1237

@KayleePop KayleePop changed the title Optimize file seeding Optimize seeding May 18, 2018
@feross

This comment has been minimized.

Copy link
Member

feross commented May 20, 2018

Thanks for the PR. I'll review it as soon as I get the chance. In the meantime, reviews from other collaborators are welcome and appreciated.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

DiegoRBaquero commented Jul 24, 2018

Hey @KayleePop , willing to update to the new code base? taking into account that
#1434 was merged

@KayleePop KayleePop force-pushed the KayleePop:seed-verify branch from 1eed2d1 to 7f834f4 Jul 26, 2018
@KayleePop

This comment has been minimized.

Copy link
Contributor Author

KayleePop commented Jul 26, 2018

Rebased

@KayleePop KayleePop force-pushed the KayleePop:seed-verify branch from 7f834f4 to 5883e59 Aug 29, 2018
@stale

This comment has been minimized.

Copy link

stale bot commented Nov 27, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Nov 27, 2018
@stale stale bot removed the stale label Nov 28, 2018
@DiegoRBaquero DiegoRBaquero merged commit c32790d into webtorrent:master Nov 28, 2018
4 checks passed
4 checks passed
WIP Ready for review
Details
WIP Legacy commit status override — see details
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@KayleePop KayleePop deleted the KayleePop:seed-verify branch Nov 29, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Feb 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

3 participants
You can’t perform that action at this time.