mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
First-probe DNS+TLS handshake against Nominatim can take >5s on a cold start (verified locally: 642ms warm, sometimes 5-8s cold). The old 5s default false-marked Nominatim unhealthy and the 30s health- cache then locked us into a fallback-of-fallback gap. 8s gives enough headroom for cold-start while still cutting off actually- stuck connections. Photon and Pelias don't hit this — Photon's CDN is consistently sub-second and Pelias is on localhost / LAN. Only the public Nominatim path warranted the bump, but the timeout is per-provider shared so we adjust it globally. Existing PROVIDER_TIMEOUT_MS env override still wins. |
||
|---|---|---|
| .. | ||
| pelias | ||
| scripts | ||
| src | ||
| CLAUDE.md | ||
| Dockerfile | ||
| package.json | ||
| tsconfig.json | ||