• zink released this 2026-11-21 23:09:18 +01:00 | 0 commits to main since this release

    Fixed

    • 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 usage table, which had no index on session_id: every request scanned the table 900 times (about 4 s while holding the database lock). The index usage_session makes 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