]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tile.rb
Bump cookstyle from 7.13.0 to 7.14.2
[chef.git] / roles / tile.rb
index c32e35eb645d87913c7ef5b6565b9b375f8ef869..82dcc21baa9c200821c7aac4d3eaa0a490629868 100644 (file)
@@ -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 => {