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

Reset tracker peers count on tracker error alert #7555

Merged
merged 1 commit into from Jul 24, 2023

Conversation

xoriole
Copy link
Contributor

@xoriole xoriole commented Jul 21, 2023

From Libtorrent documentation on tracker_error_alert

This alert is generated on tracker timeouts, premature disconnects, invalid response or an HTTP response other than "200 OK"

If the tracker is not working, I believe it is sensible to reset the peers reported by the tracker in the past to avoid the UI report as in #7538

Fixes #7538

@xoriole xoriole self-assigned this Jul 21, 2023
@xoriole xoriole marked this pull request as ready for review July 21, 2023 14:12
@xoriole xoriole requested a review from a team as a code owner July 21, 2023 14:12
@xoriole xoriole requested review from kozlovsky and removed request for a team July 21, 2023 14:12
@xoriole xoriole merged commit b55022d into Tribler:main Jul 24, 2023
29 checks passed
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 this pull request may close these issues.

Incorrect tracker status shown on Tracker tab
2 participants