Increase postgres connection limit
authorTom Hughes <tom@compton.nu>
Thu, 19 May 2016 14:02:02 +0000 (15:02 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 19 May 2016 14:02:02 +0000 (15:02 +0100)
roles/db.rb

index b1c9e4f05be1c9dad93cb6d6e958f74c319ededa..df79f702e31c1f75ffb871b243b00724a06e8958 100644 (file)
@@ -43,7 +43,7 @@ default_attributes(
     :settings => {
       :defaults => {
         :listen_addresses => "*",
     :settings => {
       :defaults => {
         :listen_addresses => "*",
-        :max_connections => "500",
+        :max_connections => "600",
         :max_stack_depth => "7MB",
         :checkpoint_segments => "32",
         :checkpoint_completion_target => "0.8",
         :max_stack_depth => "7MB",
         :checkpoint_segments => "32",
         :checkpoint_completion_target => "0.8",