]> git.openstreetmap.org Git - chef.git/commitdiff
Remove code to disable JIT and parallel query during replication
authorTom Hughes <tom@compton.nu>
Wed, 5 May 2021 21:14:35 +0000 (22:14 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 5 May 2021 21:14:59 +0000 (22:14 +0100)
cookbooks/tile/templates/default/replicate.erb

index 4e96d767d8dd1696d44c4a78427b3c2c68e9e170..eedf4e5763d3badfc71771166481074bfc6de7a8 100644 (file)
@@ -17,11 +17,6 @@ exec > /var/log/tile/replicate.log 2>&1
 
 # Change to the replication state directory
 cd /var/lib/replicate
 
 # 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
 
 # Install exit handler
 trap onexit EXIT