remote-builds: Reduce amount of SSH connections
It seems to be doing a SSH connection for each path it has to check... wow.
This commit is contained in:
parent
cc46352873
commit
bd84dd7fd7
|
@ -33,6 +33,9 @@ in
|
||||||
cat ${pkgs.writeText "root-ssh-config" (lib.strings.concatLines (builtins.map (builder: ''
|
cat ${pkgs.writeText "root-ssh-config" (lib.strings.concatLines (builtins.map (builder: ''
|
||||||
Host ${builder.hostName}
|
Host ${builder.hostName}
|
||||||
Port 2278
|
Port 2278
|
||||||
|
ControlMaster auto
|
||||||
|
ControlPath ~/.ssh/master-%r@%n:%p
|
||||||
|
ControlPersist 60s
|
||||||
'') vivariumBuilders)) } > /root/.ssh/config
|
'') vivariumBuilders)) } > /root/.ssh/config
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue