5771fb33e0a614bd7dc72841ee896fd0f410cd0a
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
71%
C++
15.5%
Nix
5.6%
PLpgSQL
3%
Shell
2.2%
Other
2.7%