Sessions 5-7a: 955 tests, deployment ready
This commit is contained in:
@@ -128,7 +128,7 @@ Map Odds API market keys to our internal names:
|
||||
- **TTL:** 15 minutes
|
||||
- **On cache hit:** Return cached data with `"source": "cache"`
|
||||
- **On cache miss:** Fetch from Odds API, normalize, store, return with `"source": "live"`
|
||||
- **On API failure with stale cache:** Return stale cache with a warning header `X-BetonBLK-Stale: true` and `"source": "cache"` (do NOT error if stale data exists)
|
||||
- **On API failure with stale cache:** Return stale cache with a warning header `X-VYNDR-Stale: true` and `"source": "cache"` (do NOT error if stale data exists)
|
||||
- **On API failure with no cache:** Return 503
|
||||
|
||||
## Rate Limit / Quota Management
|
||||
|
||||
Reference in New Issue
Block a user