]> git.openstreetmap.org Git - chef.git/commitdiff
Rely on max_connections set in attributes
authorPaul Norman <penorman@mac.com>
Sun, 3 Nov 2024 17:33:45 +0000 (09:33 -0800)
committerPaul Norman <penorman@mac.com>
Sun, 3 Nov 2024 17:33:45 +0000 (09:33 -0800)
This value scales with number of cores instead of a flat 250

roles/vectortile.rb

index 189cddb8d9d181df672cd8d8120d7ff6d2d7a222..315bb98eb0c17fde6959f85e4fe3193963bd6a76 100644 (file)
@@ -13,7 +13,6 @@ default_attributes(
   :postgresql => {
     :settings => {
       :defaults => {
   :postgresql => {
     :settings => {
       :defaults => {
-        :max_connections => "250",
         :shared_buffers => "16GB",
         :work_mem => "128MB",
         :maintenance_work_mem => "8GB",
         :shared_buffers => "16GB",
         :work_mem => "128MB",
         :maintenance_work_mem => "8GB",