mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -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> |
||
|---|---|---|
| .. | ||
| archive | ||
| docs | ||
| flasher | ||
| inventory | ||
| map | ||
| repos | ||
| videos | ||
| zim | ||
| __init__.py | ||