Skip to content

fix: timeout GitHub stats on landing page - #2527

Merged
rolandgeider merged 2 commits into
wger-project:masterfrom
whoalin1:cursor/landing-github-timeout-ee7f
Oct 10, 2026
Merged

rolandgeider merged 2 commits into
wger-project:masterfrom
whoalin1:cursor/landing-github-timeout-ee7f

Conversation

@whoalin1

@whoalin1 whoalin1 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #2517

The stats request had no timeout, and a failed lookup was not cached, so
every anonymous visit waited on api.github.com. Use a 5 second timeout and
keep the fallback stats for an hour.

Fixes wger-project#2517

Co-authored-by: whoalin1 <whoalin1@users.noreply.github.com>
Comment thread wger/software/views.py Outdated
@rolandgeider
rolandgeider merged commit ec97d5e into wger-project:master Oct 10, 2026
8 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.

Landing page hangs when api.github.com is unreachable or slow (no timeout, failure not cached)

3 participants