The query in fetchRecentMatchIDs was fetching all completed matches from the last 24 hours without a LIMIT clause. In a high-traffic environment with thousands of matches per day, this would cause the pod to run out of memory and be OOMKilled. This fix adds LIMIT 5000 to cap the number of recent matches fetched, preventing unbounded memory growth while still providing sufficient data for warm asset bundling. Fixes acb-index-builder CrashLoopBackOff (4713 restarts over 45 days). |
||
|---|---|---|
| .. | ||
| acb-api | ||
| acb-enrichment | ||
| acb-evolver | ||
| acb-index-builder | ||
| acb-local | ||
| acb-map-evolver | ||
| acb-mapgen | ||
| acb-maps-loader | ||
| acb-matchmaker | ||
| acb-wasm | ||
| acb-worker | ||