• ShineBridge v1.8.28 — history.py: load_recent Fix + periodisches Cleanup

    retr0 released this 2026-05-26 13:31:46 +02:00 | 2 commits to main since this release

    • load_recent(): Window-Funktion durch pro-Sensor-Indexabfragen ersetzt
      (SELECT ... ORDER BY ts DESC LIMIT N per sensor_id) — nutzt Index optimal,
      kein Full-Table-Scan mehr auf 1M+ Zeilen beim Start
    • Periodisches Cleanup: täglich via Daemon-Thread statt nur beim Start —
      DB bleibt dauerhaft auf RETENTION_DAYS beschränkt
    • RETENTION_DAYS: 7 → 14 (explizites Maximum per Konfiguration)

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    Downloads