mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-05-28 18:43:40 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cache.py | ||
| fetcher.py | ||
| garbage_collector.py | ||
| index.py | ||
| manager.py | ||
| routing.py | ||
| storage.py | ||