feat: add connection timeout of 1s for remote builders

This commit is contained in:
Moritz Böhme 2025-04-21 11:34:02 +02:00
parent 74c0c039f1
commit fee79c8893
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 2 additions and 1 deletions

View file

@ -136,6 +136,7 @@
mkMatch = name: _value: ''
Match User remotebuild Host ${name}
IdentityFile ${config.clan.core.vars.generators.remotebuild.files."ssh.id_ed25519".path}
ConnectTimeout 1
'';
sshConfig = concatLines (mapAttrsToList mkMatch others);
in {

View file

@ -101,7 +101,7 @@
inventory = {
machines = {
moritz-desktop.tags = ["peer" "client" "worker"];
moritz-laptop.tags = ["peer"];
moritz-laptop.tags = ["peer" "client" "worker"];
moritz-server.tags = ["client" "worker"];
};
instances."remote-builders" = {