my terrible dotfiles

tweak nextcloud and psql settings

Changed files
+7
nixos
+4
nixos/server/nextcloud.nix
··· 53 53 datadir = "/mnt/stuff/nextcloud"; 54 54 phpOptions = { 55 55 "opcache.interned_strings_buffer" = "16"; 56 + "pm.max_children" = "48"; 57 + "pm.start_servers" = "20"; 58 + "pm.min_spare_servers" = "10"; 59 + "pm.max_spare_servers" = "36"; 56 60 }; 57 61 caching = { 58 62 apcu = true;
+3
nixos/server/postgresql.nix
··· 8 8 ensureDBOwnership = true; 9 9 } 10 10 ]; 11 + settings = { 12 + max_connections = 5000; 13 + }; 11 14 }; 12 15 }