forked from lix-project/hydra
29d5a02b94
The hydra-update-gc-roots script is taking around 95 minutes on our Hydra instance (though a lot of that is I/O wait). This patch significantly reduces the number of database queries. In particular, the N most recent successful builds for each job in a jobset are now determined in a single query. Also, it removes the calls to readlink(). |
||
---|---|---|
.. | ||
hydra-build | ||
hydra-control | ||
hydra-create | ||
hydra-evaluator | ||
hydra-init | ||
hydra-queue-runner | ||
hydra-server | ||
hydra-update-gc-roots | ||
Makefile.am | ||
nix-prefetch-bzr | ||
nix-prefetch-git | ||
nix-prefetch-hg |