X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/228e08d8fafef261abc55efb687ec3628515d4de..440743879646b28a9fc271d04c6be6fe6ae74606:/cookbooks/nominatim/templates/default/updater.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/updater.erb b/cookbooks/nominatim/templates/default/updater.erb index ade5845aa..37cf89372 100644 --- a/cookbooks/nominatim/templates/default/updater.erb +++ b/cookbooks/nominatim/templates/default/updater.erb @@ -17,12 +17,12 @@ do if [[ $current_load -lt $num_cpus ]] then - INST=2 + INST=4 else - INST=1 + INST=2 fi - ./utils/update.php --import-osmosis --index-instances $INST + ./nominatim replication --once --threads $INST <% if node[:nominatim][:enable_git_updates] -%> pushd <%= @srcdir %> @@ -37,6 +37,6 @@ do if [ -f "<%= @update_maintenance_trigger %>" ]; then rm <%= @update_maintenance_trigger %> - ./utils/update.php --calculate-postcodes + ./nominatim refresh --postcodes fi done