X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/161d17d85b99af48a765f4536b2a7178a5fc7d96..1115705cbcf6b3a6ae0f78ed09aa07bf4c1a72ca:/settings/env.defaults diff --git a/settings/env.defaults b/settings/env.defaults index 7fe09fa4..ff0a7648 100644 --- a/settings/env.defaults +++ b/settings/env.defaults @@ -215,8 +215,14 @@ NOMINATIM_SERVE_LEGACY_URLS=yes NOMINATIM_API_POOL_SIZE=10 # Timeout is seconds after which a single query to the database is cancelled. +# The user receives a 503 response, when a query times out. # When empty, then timeouts are disabled. -NOMINATIM_QUERY_TIMEOUT=60 +NOMINATIM_QUERY_TIMEOUT=10 + +# Maximum time a single request is allowed to take. When the timeout is +# exceeeded, the available results are returned. +# When empty, then timouts are disabled. +NOMINATIM_REQUEST_TIMEOUT=60 # Search elements just within countries # If, despite not finding a point within the static grid of countries, it