-
CodeCraft v202611-00080 Stable
released this
2026-11-21 23:09:18 +01:00 | 0 commits to main since this releaseFixed
- Factory page made the server stall (HTTP 504, one CPU core at 100 %). The overview sums tokens and cost of up to 300 runs per request from the
usagetable, which had no index onsession_id: every request scanned the table 900 times (about 4 s while holding the database lock). The indexusage_sessionmakes it take milliseconds (measured on the production database: 4.0 s → 8 ms).
Image:
git.familie-zink.org/zink/codecraft:v202611-00080(linux/amd64 linux/arm64).Downloads
- Factory page made the server stall (HTTP 504, one CPU core at 100 %). The overview sums tokens and cost of up to 300 runs per request from the