refactor(api): add redis-backed rate limiting fallback
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
- the remaining estimate search, planning lookup, self-service timeline read, and navigation assistant helpers now live in their own domain module, keeping another mixed read-only cluster out of the monolithic assistant router without changing the assistant contract
|
||||
- the country listing and country detail assistant helpers now live in their own domain module, keeping the remaining geo/readmodel lookups out of the monolithic assistant router without changing the assistant contract
|
||||
- the remaining vacation workflow and entitlement assistant helpers now live in their own domain module, leaving `packages/api/src/router/assistant-tools.ts` as an aggregator/composition layer instead of the last mixed monolithic execution block
|
||||
- API and auth rate limiting now prefer shared Redis-backed counters when `REDIS_URL` is configured, while retaining an in-memory fallback for local/degraded operation with focused regression coverage
|
||||
|
||||
## Next Up
|
||||
|
||||
@@ -61,9 +62,8 @@ The remaining work is now structural rather than another quick batch:
|
||||
|
||||
1. secrets and runtime configuration policy
|
||||
2. oversized router decomposition
|
||||
3. production-grade rate limiting
|
||||
4. canonical image-based production delivery
|
||||
5. performance hotspot reduction
|
||||
3. canonical image-based production delivery
|
||||
4. performance hotspot reduction
|
||||
|
||||
## Working Rule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user