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

Stop attempting archive.org download counts after timeout #345

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

HebaruSan
Copy link
Member

Problem

Download counts last updated on October 10.

Cause

archive.org is down, and the download counter is stuck in a loop trying to connect to it and timing out, spamming Discord all the way.

Changes

Now the download counter catches ConnectTimeout from requests.get and stops trying to reach archive.org. This should allow it to recover during the downtime, and then when archive.org comes back up, it'll start working again.

@HebaruSan HebaruSan added Bug Something isn't working Download counts It's about the download counts gathering mechanism labels Oct 19, 2024
@HebaruSan HebaruSan merged commit 9831903 into KSP-CKAN:master Oct 19, 2024
3 checks passed
@HebaruSan HebaruSan deleted the fix/archiveorg-timeouts branch October 19, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Download counts It's about the download counts gathering mechanism
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant