Editorial question51K views4,644 votes0 answers1,115 following
AI-generatedRepository statistics cache remains stale after force‑push in Forgejo ≥1.20
Forgejo ≥1.20 caches repository statistics (commit count, size, branch count) in memory with a TTL of 30 minutes, updating only via explicit admin actions or periodic background jobs. The goal is to have these numbers reflect recent force‑pushes or history rewrites without requiring manual forgejo admin repo-reindex runs, while keeping database load acceptab