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
9602ab9539
commit
3f66dee8f1
|
@ -36,6 +36,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