You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes
Avoid an O(n²) group filter in GET /api/v1/assets that could exceed the Cloudflare timeout on large libraries.
The group membership check now uses the asset primary key and the asset_originals(blob_id) index instead of rescanning every displayed asset for each candidate.
Verification
EXPLAIN ANALYZE for the asset count query: >90s -> ~0.3s.