managarten/services/mana-geocoding/pelias/pelias.json
Till JS 020f327503 fix(geocoding): drop unused Pelias services, raise Bun idleTimeout
Two production follow-ups surfaced after the deploy:

1. Pelias API was emitting continuous `ENOTFOUND placeholder`, `pip`,
   `interpolation` errors because we declared those services in
   pelias.json but never actually run them (we don't need WOF
   admin lookup or street interpolation for the DACH use case).
   Removed the stale entries — Pelias degrades cleanly to
   libpostal-only parsing, which is what we want.

2. Bun.serve's default idleTimeout is 10s, which is too tight for
   cold Pelias queries hitting Elasticsearch. Raise to 60s so
   first-query-after-idle doesn't get cut off.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:41:57 +02:00

52 lines
859 B
JSON

{
"esclient": {
"apiVersion": "7.x",
"hosts": [
{
"host": "elasticsearch",
"port": 9200
}
]
},
"api": {
"services": {
"libpostal": {
"url": "http://libpostal:4400"
}
},
"defaultParameters": {}
},
"imports": {
"adminLookup": {
"enabled": false
},
"openstreetmap": {
"download": [
{
"sourceURL": "https://download.geofabrik.de/europe/dach-latest.osm.pbf"
}
],
"datapath": "/data/openstreetmap",
"leveldbpath": "/data/leveldb",
"importVenues": true,
"importAddresses": true,
"adminLookup": false,
"useAdminHierarchyLabels": false,
"leveldb": {
"cacheSize": 256
},
"import": [
{
"filename": "planet-latest.osm.pbf"
}
]
},
"polylines": {
"datapath": "/data/polylines",
"files": ["extract.0sv"]
}
},
"logger": {
"level": "info"
}
}