X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/96ec481d8fc8db85b44daee8d87889d8fce909d4..3d489277de8fa3a6190655ed1ab0e9d8357e4c48:/roles/nominatim.rb diff --git a/roles/nominatim.rb b/roles/nominatim.rb index bcfb5434a..9564e1183 100644 --- a/roles/nominatim.rb +++ b/roles/nominatim.rb @@ -20,12 +20,19 @@ default_attributes( :event => { :server_limit => 32, :max_request_workers => 1600, - :threads_per_child => 50 + :threads_per_child => 50, + :min_spare_threads => 125, + :max_spare_threads => 925 } }, :apt => { :sources => ["postgresql"] }, + :networking => { + :firewall => { + :http_rate_limit => "s:7/sec:15" + } + }, :postgresql => { :settings => { :defaults => {