From ecc3072dbc6b6b07f5e766b88657387a3a84d17f Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Sun, 3 Nov 2024 09:33:45 -0800 Subject: [PATCH 1/1] Rely on max_connections set in attributes This value scales with number of cores instead of a flat 250 --- roles/vectortile.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/vectortile.rb b/roles/vectortile.rb index 189cddb8d..315bb98eb 100644 --- a/roles/vectortile.rb +++ b/roles/vectortile.rb @@ -13,7 +13,6 @@ default_attributes( :postgresql => { :settings => { :defaults => { - :max_connections => "250", :shared_buffers => "16GB", :work_mem => "128MB", :maintenance_work_mem => "8GB", -- 2.39.5