add additional timeout for entire request

This commit is contained in:
Sarah Hoffmann
2023-08-25 09:16:53 +02:00
parent 161d17d85b
commit 1115705cbc
3 changed files with 23 additions and 5 deletions

View File

@@ -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