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

Torrent to pass discovery interval to torrent-discovery #1436

Closed
wants to merge 2 commits into from

Conversation

@oleiba
Copy link

oleiba commented Jul 20, 2018

torrent-discovery supports accepting intervalMs in its constructor, for changing the interval for discovering new peers (e.g. querying the DHT).
However, passing this argument is not yet supported in the main WebTorrent client which uses this package. This PR enables it.

Sometimes it makes a lot of sense to adjust the interval of querying the DHT for updates, for example if you want shorter discovery intervals than the 15 minutes default.

oleiba added 2 commits Jul 20, 2018
@DiegoRBaquero

This comment has been minimized.

Copy link
Member

DiegoRBaquero commented Aug 29, 2018

I'll take this with added documentation and tests

Copy link
Member

DiegoRBaquero left a comment

See comment

@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
@lock lock bot locked as resolved and limited conversation to collaborators Feb 26, 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.

None yet

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