* Reduce the maximum archive size for patch generation to 100 MB to

prevent trashing on nix.cs.uu.nl.
This commit is contained in:
Eelco Dolstra 2006-10-12 20:13:29 +00:00
parent 7d4567f2cc
commit 2a535689fe
2 changed files with 2 additions and 2 deletions

View file

@ -277,7 +277,7 @@ foreach my $p (keys %dstOutPaths) {
my $srcNarBz2 = getNarBz2 \%srcNarFiles, $closest;
my $dstNarBz2 = getNarBz2 \%dstNarFiles, $p;
my $maxNarSize = 150 * 1024 * 1024;
my $maxNarSize = 100 * 1024 * 1024;
system("@bunzip2@ < $srcNarBz2 > $tmpDir/A") == 0
or die "cannot unpack $srcNarBz2";

View file

@ -15,7 +15,7 @@ sub readDir {
}
readDir "/data/webserver/dist/nix-cache";
readDir "/data/webserver/dist/test";
readDir "/data/webserver/dist/test-cache";
readDir "/data/webserver/dist/patches";
print STDERR scalar (keys %archives), "\n";