-
Notifications
You must be signed in to change notification settings - Fork 451
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
Health checks seem broken #8159
Comments
To my surprise, if I change the following line
to health = aggregate_responses_for_infohash(infohash, cast(List[TrackerResponse], [])) everything starts working (I still have no idea why this could be). |
I think this logic is wrong. Consider tribler/src/tribler/core/torrent_checker/torrent_checker.py Lines 356 to 363 in 6a6c8e0
tribler/src/tribler/core/torrent_checker/torrent_checker.py Lines 43 to 52 in 6a6c8e0
I think the check should be as follows: if health.last_check == 0:
self.notify(health) # We don't need to store this in the db, but we still need to notify the GUI
else:
self.update_torrent_health(health) |
After clicking the health of all the torrents in my search results I get a lot of seemingly dead torrents:
However, after waiting a few seconds and clicking them all again, the torrents come back alive:
The text was updated successfully, but these errors were encountered: