X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1435b214e15a69f4822bcefcf8916e5a15c69db9..808a8a3e8ec7b1903e356f20016e278d012a033e:/roles/tile.rb diff --git a/roles/tile.rb b/roles/tile.rb index 831118c8c..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.0", + :revision => "v5.4.0", :max_zoom => 19 } }