forked from lix-project/hydra
hydra-queue-runner: Disable findBuildDependencyInQueue for now
It's way too slow.
This commit is contained in:
parent
24c757845d
commit
accefbb798
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ sub unlockDeadBuilds {
|
|||
# depends; or undef if no such build exists.
|
||||
sub findBuildDependencyInQueue {
|
||||
my ($buildsByDrv, $build) = @_;
|
||||
return undef; # FIXME
|
||||
return undef unless isValidPath($build->drvpath);
|
||||
my @deps = grep { /\.drv$/ && $_ ne $build->drvpath } computeFSClosure(0, 0, $build->drvpath);
|
||||
return unless scalar @deps > 0;
|
||||
|
|
Loading…
Reference in a new issue