29d5a02b94f52d092c9bdf5f213521d0d6e223cc
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().
The file is empty.
Description
Languages
Perl
70.9%
C++
15.3%
Nix
6%
PLpgSQL
2.9%
Shell
2.2%
Other
2.6%