]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db.rb
Disable postgres JIT for main database
[chef.git] / roles / db.rb
index dbcf4baa6b0f5c47cf0c22d4a88b160d6b642623..5e4aa0d0b7f00fe8b2173a13004a9dca5fdde319 100644 (file)
@@ -35,19 +35,18 @@ default_attributes(
       }
     }
   },
-  :nfs => {
-    "/store/rails" => { :host => "ironbelly", :path => "/store/rails" }
-  },
   :postgresql => {
     :settings => {
       :defaults => {
         :listen_addresses => "*",
-        :max_connections => "1000",
+        :max_connections => "1500",
         :max_stack_depth => "7MB",
-        :checkpoint_segments => "32",
+        :wal_level => "logical",
         :max_wal_size => "1536MB",
         :checkpoint_completion_target => "0.8",
+        :max_wal_senders => "10",
         :cpu_tuple_cost => "0.1",
+        :jit => "off",
         :log_min_duration_statement => "1000",
         :late_authentication_rules => [
           { :address => "10.0.32.0/20" },
@@ -66,7 +65,3 @@ default_attributes(
     }
   }
 )
-
-run_list(
-  "recipe[nfs]"
-)