mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
[Backport release-26.05] nixos/gitlab: increase postgres max locks per transaction (#553288)
This commit is contained in:
@@ -1285,6 +1285,8 @@ in
|
||||
services.postgresql = optionalAttrs databaseActuallyCreateLocally {
|
||||
enable = true;
|
||||
ensureUsers = singleton { name = cfg.databaseUsername; };
|
||||
# With the PostgreSQL update to 17.6, the default was no longer enough.
|
||||
settings.max_locks_per_transaction = lib.mkDefault 128;
|
||||
};
|
||||
|
||||
# Enable rotation of log files
|
||||
|
||||
Reference in New Issue
Block a user