hass.tibber_prices/custom_components/tibber_prices/interval_pool
Julian Pawlowski 361498b7f5 perf(interval_pool): run GC after touch-only interval updates
Touch operations create dead intervals in old fetch groups, but GC only
ran when new intervals were added. Dead intervals accumulated until
the next fetch with genuinely new data.

Now run GC after touch-only paths and schedule a save if data changed.

Impact: Reduces memory usage by cleaning up stale fetch groups promptly
instead of letting dead intervals accumulate between API fetches.
2026-04-17 12:00:48 +00:00
..
__init__.py feat(interval-pool): add intelligent interval caching and memory optimization 2025-11-25 20:44:39 +00:00
cache.py fix(services): use injected now in resolve_search_range day offset 2026-04-14 19:33:24 +00:00
fetcher.py fix(services): use injected now in resolve_search_range day offset 2026-04-14 19:33:24 +00:00
garbage_collector.py fix(interval_pool): rebuild index after dead interval cleanup without empty groups 2026-04-17 12:00:37 +00:00
index.py refactor(interval_pool): improve reliability and test coverage 2025-12-23 10:10:35 +00:00
manager.py perf(interval_pool): run GC after touch-only interval updates 2026-04-17 12:00:48 +00:00
routing.py fix(services): use injected now in resolve_search_range day offset 2026-04-14 19:33:24 +00:00
storage.py feat(interval-pool): add intelligent interval caching and memory optimization 2025-11-25 20:44:39 +00:00