wrolpi/modules
lrnselfreliance c78378d4f5
The Zim list reads each Zim's metadata in the libzim worker instead of opening it in the API (#939)
GET /api/zim went through Zims.get_all, which opened every Zim's Archive in the
API process, and then Zim.__json__ opened each one again for its metadata.
python-libzim holds the GIL and a cold open of a large Zim takes seconds, so
loading the Zims page stalled that API worker for every other request (27.8 s
cold against 0.75 s warm for 44 Zims).  #928 moved estimates and searches to the
worker process; the list now uses the same worker for metadata, and a Zim the
worker cannot read is left out as before.  count_tagged_zim_entries shares the
new readable_zims helper.  Zims.get_all had no other callers and is removed.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 18:19:29 -07:00
..
archive A download records the sha256 of its files in the wrolpi section (#904) 2026-10-30 19:34:49 -06:00
docs Hiding a Calibre book's cover and metadata uses the modeler's session (#936) 2026-11-02 11:04:28 -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 Map downloads are checked against the hash in the signed manifest (#934) 2026-11-01 20:38:57 -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
videos The tail-decode check ignores the h264 decoder's "mmco: unref short failure" note (#938) 2026-11-02 18:00:03 -07:00
zim The Zim list reads each Zim's metadata in the libzim worker instead of opening it in the API (#939) 2026-11-02 18:19:29 -07:00
__init__.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00