X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4dcd021f1c09c166c202eb94b53a3706b8171233..3880cdf3b6705bf237418122d0ba7fe26b1a27eb:/roles/tile.rb diff --git a/roles/tile.rb b/roles/tile.rb index b2a8d5f2f..9ffda6a8c 100644 --- a/roles/tile.rb +++ b/roles/tile.rb @@ -35,6 +35,7 @@ default_attributes( :postgresql => { :settings => { :defaults => { + :max_connections => "250", :temp_buffers => "32MB", :work_mem => "128MB", :wal_buffers => "1024kB", @@ -43,7 +44,9 @@ default_attributes( :checkpoint_segments => "60", :max_wal_size => "2880MB", :random_page_cost => "1.1", - :track_activity_query_size => "16384" + :track_activity_query_size => "16384", + :autovacuum_vacuum_scale_factor => "0.05", + :autovacuum_analyze_scale_factor => "0.02" } } }, @@ -91,7 +94,7 @@ default_attributes( :styles => { :default => { :repository => "git://github.com/gravitystorm/openstreetmap-carto.git", - :revision => "v4.7.0", + :revision => "v4.11.0", :max_zoom => 19 } }