Increase postgres connection limits
authorTom Hughes <tom@compton.nu>
Fri, 4 Nov 2016 09:51:45 +0000 (09:51 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 4 Nov 2016 09:51:45 +0000 (09:51 +0000)
roles/db.rb

index aa8679ddf840bae160303dd0d363d2346cda5885..c8aebed0d9507c1360c8bd9bdefeebef6f794879 100644 (file)
@@ -43,7 +43,7 @@ default_attributes(
     :settings => {
       :defaults => {
         :listen_addresses => "*",
-        :max_connections => "600",
+        :max_connections => "1000",
         :max_stack_depth => "7MB",
         :checkpoint_segments => "32",
         :max_wal_size => "1536MB",