fix(web03/postgresql): Increase the maximum number of connexions

This commit is contained in:
Tom Hubrecht 2025-03-28 14:45:13 +01:00 committed by mdebray
parent aed96b16e1
commit ecf39c6bb8

View file

@ -14,6 +14,12 @@
./wikiens.nix
];
services.postgresql.settings = {
# NOTE: Each concurrent Django request opens a DB connection,
# by default, the maximum allowed is 100, which is too small whan a lot of requests come in
max_connections = 512;
};
services.django-apps = {
enable = true;