hydra-queue-runner: Maintain count of active build steps

This commit is contained in:
Eelco Dolstra
2015-06-18 00:24:56 +02:00
parent 59dae60558
commit f57d0b0c54
2 changed files with 13 additions and 0 deletions

View File

@ -39,6 +39,8 @@ static void openConnection(const string & sshName, const string & sshKey,
if (dup2(stderrFD, STDERR_FILENO) == -1)
throw SysError("cannot dup stderr");
// FIXME: ensure no password prompt.
// FIXME: connection timeouts
Strings argv({"ssh", sshName, "-i", sshKey, "-x", "-a", "--", "nix-store", "--serve", "--write"});
execvp("ssh", (char * *) stringsToCharPtrs(argv).data()); // FIXME: remove cast