X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fd7b86ceec5580060856ff46c6cfcf47c1f0bbec..4489b2c6a332cfc87d2a0c1cc8dc118f6bfee15d:/roles/tile.rb diff --git a/roles/tile.rb b/roles/tile.rb index c32e35eb6..4a3189532 100644 --- a/roles/tile.rb +++ b/roles/tile.rb @@ -38,6 +38,7 @@ default_attributes( :max_connections => "250", :temp_buffers => "32MB", :work_mem => "128MB", + :max_parallel_workers_per_gather => "0", :wal_buffers => "1024kB", :wal_writer_delay => "500ms", :commit_delay => "10000", @@ -67,7 +68,20 @@ default_attributes( "kernel.sched_min_granularity_ns" => 10000000, "kernel.sched_wakeup_granularity_ns" => 15000000 } - } + }, + :no_tcp_slow_start => { + :comment => "Disable TCP slow start", + :parameters => { + "net.ipv4.tcp_slow_start_after_idle" => "0" + } + }, + :tcp_use_bbr => { + :comment => "Use TCP BBR Congestion Control", + :parameters => { + "net.core.default_qdisc" => "fq", + "net.ipv4.tcp_congestion_control" => "bbr" + } + }, }, :tile => { :database => { @@ -85,7 +99,7 @@ default_attributes( :styles => { :default => { :repository => "https://github.com/gravitystorm/openstreetmap-carto.git", - :revision => "v5.3.1", + :revision => "v5.4.0", :max_zoom => 19 } }