Fetch the statistics of every project at night and cache the result.
Summary
Fetch the statistics of every project at night and cache the result.
Checklist
-
Add a configuration option that determines on which top-level (sub)group this will be done e.g. cse2000-software-project/2024-2025
-
Find all leaf projects of that group -
Call the existing statistics fetching method for all those projects -
Do so at a scheduled time at night (let's say 2 AM) -
Make sure the cache stores statistics for a longer time (until the next re-fetch)