Files
romm/backend/handler/database
nendo 41c91fdd5b SaveSync: push null-slot exclusion into the SQL query
Three sync callsites (endpoints/sync.py, sync_watcher.py, and both
branches of tasks/sync_push_pull_task.py) ran get_saves(...) and then
discarded archival null-slot rows in a Python list comprehension. On
libraries with many archival/web-UI uploads that's a strict waste:
those rows are pulled from MariaDB, hydrated into Save model instances,
and then immediately filtered out.

Add a slot_not_null bool kwarg to DBSavesHandler.get_saves and apply
the filter in the SQL query. Update all four callsites to use it and
drop the Python-side comprehension. Default stays False so unrelated
callers keep the current behavior.
2026-05-29 17:40:18 +09:00
..
2025-09-04 11:17:00 -03:00
2026-03-12 23:02:12 -04:00
2026-01-18 22:27:46 -05:00
2026-04-06 22:29:55 -04:00
2026-05-25 12:00:14 -04:00
2026-03-12 23:02:12 -04:00