]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nominatim.env.erb
Disable collection of bgwriter statistics for postgres 17
[chef.git] / cookbooks / nominatim / templates / default / nominatim.env.erb
index 929f6a0aab36293989d5d003a37c3ead722ea9bd..37cb6da495122d6f02a89e12c7419370a2227145 100644 (file)
@@ -8,11 +8,15 @@ NOMINATIM_FLATNODE_FILE="<%= @flatnode_file %>"
 <% end -%>
 
 NOMINATIM_SERVE_LEGACY_URLS=yes
+NOMINATIM_API_POOL_SIZE=<%= @pool_size %>
+NOMINATIM_QUERY_TIMEOUT=<%= @query_timeout %>
+NOMINATIM_REQUEST_TIMEOUT=<%= @request_timeout %>
 
 NOMINATIM_IMPORT_STYLE=extratags
 
 NOMINATIM_USE_US_TIGER_DATA=yes
 
+<% if node.platform?("ubuntu") -%>
 NOMINATIM_TOKENIZER="<%= @tokenizer %>"
 NOMINATIM_UPDATE_FORWARD_DEPENDENCIES="<%= @forward_dependencies %>"
 
@@ -26,6 +30,8 @@ NOMINATIM_TABLESPACE_ADDRESS_DATA=daddress
 NOMINATIM_TABLESPACE_ADDRESS_INDEX=iaddress
 NOMINATIM_TABLESPACE_AUX_DATA=daux
 NOMINATIM_TABLESPACE_AUX_INDEX=iaux
+<% end -%>
+
 
 NOMINATIM_LOG_DB=no
 NOMINATIM_LOG_FILE="<%= @log_file %>"