]> git.openstreetmap.org Git - chef.git/commitdiff
Add missing comma
authorTom Hughes <tom@compton.nu>
Thu, 14 Sep 2023 09:08:07 +0000 (10:08 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 14 Sep 2023 09:08:07 +0000 (10:08 +0100)
cookbooks/tile/attributes/default.rb
roles/tile.rb

index c471f2475bfe4666f0bb6d1fef0151c0e771e04b..162a2667e2dd4cff48cfe95eeabb8682704a849d 100644 (file)
@@ -19,5 +19,5 @@ default[:postgresql][:monitor_database] = "gis"
 default[:accounts][:users][:tile][:status] = :role
 
 default[:apache][:event][:server_limit] = node.cpu_cores * 5 / 4
-default[:apache][:event][:max_request_workers] = node.cpu_cores * node[:apache][:event][:threads_per_child]
+default[:apache][:event][:max_request_workers] = node[:apache][:event][:server_limit] * node[:apache][:event][:threads_per_child]
 default[:apache][:event][:max_spare_threads] = node.cpu_cores * node[:apache][:event][:threads_per_child]
index 88a971145373651c786a6eaba5f75ae0e833e064..ac642a758e6c0d88419a7ebda46df652baf8f4bc 100644 (file)
@@ -41,7 +41,7 @@ default_attributes(
         :wal_level => "minimal",
         :wal_buffers => "1024kB",
         :wal_writer_delay => "500ms",
-        :checkpoint_timeout => "60min"
+        :checkpoint_timeout => "60min",
         :commit_delay => "10000",
         :max_wal_size => "10GB",
         :max_wal_senders => "0",