mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Route the Google Solar client through the shared call_with_retry with full jitter (de-synchronises the 32 concurrent containers per Google's "avoid synchronised requests" guidance), honouring Retry-After, a 60s max backoff (rides out the 600 QPM per-minute window), and 6 bounded retries. 429/5xx/transport errors are transient; other 4xx propagate immediately; 404-entity-not-found stays BuildingInsightsNotFoundError. On exhaustion a TransientHttpError surfaces so the subtask fails and is re-triggered (no silent degrade). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chatgpt | ||
| epc_client | ||
| magic_plan | ||
| postcodes_io | ||
| postgres | ||
| solar | ||
| __init__.py | ||
| conftest.py | ||
| test_address2uprn_queue_client.py | ||
| test_csv_s3_client.py | ||
| test_http_retry.py | ||
| test_s3_client.py | ||
| test_s3_uri.py | ||
| test_sqs_client.py | ||