wrolpi/modules
lrnselfreliance 0ccedde3b0
A refresh compare and the doc modeler read file_group through its indexes (#1083)
A refresh compared its roots with `directory LIKE 'root/%'`, and the doc
modeler found comics with `primary_path LIKE '%.cbz'`.  SQLite cannot use an
index for either, so both read every row of file_group.  With a cold page cache
on a large library, a refresh of one empty directory took ~3.5 minutes, and a
move queued behind it waited that long.

The compare now uses a range on `directory` (as `directory_or_descendant` does),
which also stops `_` and `%` in a path acting as wildcards: refreshing `a_b`
reported the FileGroups of `aXb/...` as deleted.  The doc modeler matches the
indexed, lowercased `suffix` column instead.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 15:12:06 -07:00
..
archive Search results sort as the filter dialog says (#959) 2026-11-11 19:42:23 -07:00
docs A refresh compare and the doc modeler read file_group through its indexes (#1083) 2026-12-02 15:12:06 -07:00
flasher Configs without database rows read and validate only; imports run off the event loop (#874) 2026-10-25 15:17:31 -06:00
inventory The inventory legacy-date repair no longer takes the save lock during import (#915) 2026-11-02 11:58:42 -07:00
map Species: a monthly build of the packs, signed where the key is (#1036) 2026-11-30 15:05:22 -07:00
repos A malformed entry stops a backup preview or merge with an error naming it (#896) 2026-10-27 20:59:49 -06:00
torrents Torrents: refuse to download into the media directory itself (#1038) 2026-11-30 15:05:52 -07:00
videos Video page: find a Video's neighbors from indexes, not rows (#1062) 2026-12-01 14:31:17 -07:00
zim Bump libzim to 4, cachetools to 8, certifi, py7zr, uvicorn (#1079) 2026-12-01 15:44:18 -07:00
__init__.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00