DB: indexes for the polling queries
- jobs(finished_at): the live view's "open or finished in the last 5 minutes" query, run once a second per visible tab, was a full scan of the job history; it is now a multi-index lookup (0.23 -> 0.04 ms at 2,000 jobs). - benchmark_runs(state, created_at): the worker's look for the next queued run every 2 s scanned every run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EooZ9biu7kFNB4eDJrwQc5
This commit is contained in:
5 files changed
+1549
-2
No files matched your search
@@ -34,6 +34,8 @@ step 1 (Hugging Face downloader) is released as a minor version.
|
||||
file list it just fetched (a commit's files never change), the author's avatar loads alongside,
|
||||
and the regular Hub check asks only for the commit SHA instead of the full model info.
|
||||
- The **Model card** tab shows the page at once and the card when it arrives from the Hub.
|
||||
- Database indexes for the queries the live view and the worker repeat every few seconds (the
|
||||
migration runs by itself on start).
|
||||
|
||||
## [0.16.0] - 2026-10-30
|
||||
|
||||
|
||||
Reference in new issue
Block a user