fix: pagination runaway, double iteration, and reconciliation efficiency (#30)

immich_api.py:
- Move empty-page break after non-dict filtering — a page of all-null
  items no longer loops to MAX_PAGES without terminating
- Single-pass partition replaces two inverse isinstance scans per page
- Upgrade non-dict item log from DEBUG to WARNING (silent asset loss)

reconcile.py:
- Check Frigate before the first sleep so fast responses return
  immediately rather than always paying a 1 s delay
- Compute set difference once per poll iteration instead of twice

Bump version to 0.5.6
This commit is contained in:
2026-06-14 20:16:27 -04:00
committed by GitHub
parent 3a052db1ce
commit 363190dbe5
5 changed files with 38 additions and 18 deletions
Generated
+1 -1
View File
@@ -862,7 +862,7 @@ wheels = [
[[package]]
name = "winnow"
version = "0.5.5"
version = "0.5.6"
source = { editable = "." }
dependencies = [
{ name = "croniter" },