X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/19444e3447c11b90b2908cd5cb6790bd55b0fc86..9a44b9d826f560fef64b54924313e8e8b589ef5a:/roles/tile.rb diff --git a/roles/tile.rb b/roles/tile.rb index 6c7da5a01..9065969c0 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.1", + :revision => "v4.14.0", :max_zoom => 19 } }