mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 05:39:57 -05:00
|
Some checks are pending
Backend Tests / api-tests (core) (push) Waiting to run
Backend Tests / api-tests (files) (push) Waiting to run
Backend Tests / api-tests (media) (push) Waiting to run
Backend Tests / api-tests (rest) (push) Waiting to run
Backend Tests / api-contract-tests (push) Waiting to run
Backend Tests / api-migrations-and-start (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Cypress Tests / cypress-component-tests (push) Waiting to run
Cypress Tests / cypress-e2e-tests (push) Waiting to run
Dead Code / vulture (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run
Both ran on every global search and were slow from a cold disk cache: - search_file_estimates joined each FTS match to its file_group row just to count it; a common word is a random read per match. With only a search string, both counts now come from the FTS index alone (as files search counts since #1086). - search_suggestions' channel search read every channel row (each holds its yt-dlp info_json): the name order scanned the table, and the video count order grouped by channel.id, which walks the table in rowid order. The matching channel ids now come from collection names and covering indexes (a correlated video count instead of GROUP BY), then only those channels are loaded. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_api.py | ||
| test_lib.py | ||
| test_models.py | ||