mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
GET /api/archive/<id> loaded each history Archive's FileGroup and Tags with their own queries while serializing: two queries per history Archive. An Archive with 51 history entries ran 107 statements per request. Both the Archive and its history now use Archive.json_options(), so the count no longer grows with the history (5 statements for the same Archive). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test | ||
| __init__.py | ||
| api.py | ||
| conftest.py | ||
| errors.py | ||
| lib.py | ||
| models.py | ||
| schema.py | ||