nix-daemon: set MaxSessions to 100
This makes more simultaneous remote builds possible when using a multiplexed SSH connection.
This commit is contained in:
parent
c1f9e26c06
commit
fe3e4a50fb
|
@ -35,6 +35,7 @@ in
|
||||||
|
|
||||||
# Avoid weird failures for builders.
|
# Avoid weird failures for builders.
|
||||||
services.openssh.settings.MaxStartups = 100;
|
services.openssh.settings.MaxStartups = 100;
|
||||||
|
services.openssh.settings.MaxSessions = 100;
|
||||||
|
|
||||||
# Memory accounting techniques
|
# Memory accounting techniques
|
||||||
systemd.services.nix-daemon.serviceConfig = {
|
systemd.services.nix-daemon.serviceConfig = {
|
||||||
|
|
Loading…
Reference in a new issue