mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
add a timeout for DB queries
This commit is contained in:
@@ -214,6 +214,10 @@ NOMINATIM_SERVE_LEGACY_URLS=yes
|
||||
# of connections _per worker_.
|
||||
NOMINATIM_API_POOL_SIZE=10
|
||||
|
||||
# Timeout is seconds after which a single query to the database is cancelled.
|
||||
# When empty, then timeouts are disabled.
|
||||
NOMINATIM_QUERY_TIMEOUT=60
|
||||
|
||||
# Search elements just within countries
|
||||
# If, despite not finding a point within the static grid of countries, it
|
||||
# finds a geometry of a region, do not return the geometry. Return "Unable
|
||||
|
||||
Reference in New Issue
Block a user