X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1435b214e15a69f4822bcefcf8916e5a15c69db9..dca9aff59c1ecd82f2f17c1a91b5eebed19700f7:/cookbooks/nominatim/templates/default/updater.erb 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