A subscription to a city that had never been viewed had no cached ~45-year archive, so the evaluator skipped it and it never fired. Now when a subscribed cell has no cached archive, the pass fetches it once via get_history (which caches it); every later pass reads it from cache and never re-fetches. A per-pass budget (THERMOGRAPH_NOTIFY_ARCHIVE_FETCHES, default 4) caps how many missing archives one pass will fetch so a burst of new subscriptions can't exhaust the archive quota, and a rate-limited fetch just retries on the next pass. The recent/forecast bundle keeps refreshing on its own hourly cadence. Add integration tests covering fetch-when-missing and never-refetch-when-cached. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_api.py | ||
| test_api_accounts.py | ||
| test_climate.py | ||
| test_grading.py | ||
| test_grid.py | ||
| test_notify.py | ||
| test_places.py | ||
| test_store.py | ||
| test_views.py | ||