Files
gh-christianlouis-docuelevate/app
google-labs-jules[bot] 040f4dcdd4 fix N+1 query in list_shared_links
Replaced the N+1 query in `list_shared_links` which fetched `FileRecord` for each link. It now uses a single query with an `outerjoin` to fetch `original_filename` alongside the `SharedLink` object.
Measured a significant improvement from ~0.4547s to ~0.0579s per 1000 links.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 09:14:36 +00:00
..
2026-03-16 09:14:36 +00:00
2026-03-15 04:10:28 +00:00
2026-03-14 09:42:23 +00:00
2026-03-14 09:45:05 +00:00