If FMCSA live API is slow (can take 2x 10s = 20s when down), the route would hang until nginx proxy killed the connection -> 'Failed to fetch'. Now: - fmcsaFetch timeout: 10s -> 5s (two calls max 10s total) - SOS entity-status timeout: already reduced to 5s - 12s hard deadline: if any live API hangs past 12s, immediately return census-only data with a 'partial=true' flag so the user gets something Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| src | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| start-dev.sh | ||
| tsconfig.json | ||