X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ac4c98fd9572dc03e5d883710f2ee5443dd3aee7..9198700edaa62858cbc8f07cc883b2d4283831a6:/cookbooks/tile/templates/default/replicate.erb diff --git a/cookbooks/tile/templates/default/replicate.erb b/cookbooks/tile/templates/default/replicate.erb index bdd271f61..eedf4e576 100644 --- a/cookbooks/tile/templates/default/replicate.erb +++ b/cookbooks/tile/templates/default/replicate.erb @@ -17,11 +17,6 @@ exec > /var/log/tile/replicate.log 2>&1 # Change to the replication state directory cd /var/lib/replicate -<% if @postgresql_version >= 12 -%> - -# Disable JIT and parallel workers in postgres -export PGOPTIONS="-c jit=off -c max_parallel_workers_per_gather=0" -<% end -%> # Install exit handler trap onexit EXIT @@ -36,7 +31,7 @@ do cp sequence.txt sequence-prev.txt # Fetch the next set of changes - pyosmium-get-changes --sequence-file=sequence.txt --outfile=${file} + pyosmium-get-changes --server=<%= node[:tile][:replication][:url] %> --sequence-file=sequence.txt --outfile=${file} # Save exit status status=$?