Skip to content

Conversation

@egbertbouman
Copy link
Member

This PR does the following:

  • Updates DownloadManager.get_metainfo to spend more time in the swarm when doing a health check. It's currently set to 4 minutes. As health checks now potentially take a lot more time, I've increased the maximum simultaneous checks to 5,
  • Splits health checks in 2 parts: checking trackers, and if that doesn't yield any results, join the swarm for 4 minutes.
  • Removes FakeDHTSession/FakeBep33DHTSession as I think it makes more sense to call get_metainfo separately (as a fallback for torrents without a working tracker).
  • Disables checking random trackers, as this only does a partial check. I didn't remove the underlying code, in case we decide to turn this back on in the future.
  • Adds a debug panel showing completed health checks.

@egbertbouman
Copy link
Member Author

validate

@egbertbouman egbertbouman marked this pull request as ready for review January 13, 2026 10:59
@egbertbouman egbertbouman merged commit 73c1e72 into Tribler:main Jan 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants