X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cb9778d801af05f2e8a70ad67d1cbada7c8bc324..1b5dff2b26189fa2130eb70ca9385a45c5f2d7d5:/cookbooks/tile/templates/default/replicate.erb diff --git a/cookbooks/tile/templates/default/replicate.erb b/cookbooks/tile/templates/default/replicate.erb index 37925c52f..1b6c61bbc 100644 --- a/cookbooks/tile/templates/default/replicate.erb +++ b/cookbooks/tile/templates/default/replicate.erb @@ -68,9 +68,9 @@ do # Apply the changes to the database <% if node[:tile][:node_file] -%> - osm2pgsql --slim --append --flat-nodes=<%= node[:tile][:node_file] %> ${file} + osm2pgsql --slim --append --number-processes=1 --flat-nodes=<%= node[:tile][:node_file] %> ${file} <% else -%> - osm2pgsql --slim --append ${file} + osm2pgsql --slim --append --number-processes=1 ${file} <% end -%> # No need to rollback now