* Reduce the maximum archive size for patch generation to 100 MB to
prevent trashing on nix.cs.uu.nl.
This commit is contained in:
parent
7d4567f2cc
commit
2a535689fe
|
@ -277,7 +277,7 @@ foreach my $p (keys %dstOutPaths) {
|
||||||
my $srcNarBz2 = getNarBz2 \%srcNarFiles, $closest;
|
my $srcNarBz2 = getNarBz2 \%srcNarFiles, $closest;
|
||||||
my $dstNarBz2 = getNarBz2 \%dstNarFiles, $p;
|
my $dstNarBz2 = getNarBz2 \%dstNarFiles, $p;
|
||||||
|
|
||||||
my $maxNarSize = 150 * 1024 * 1024;
|
my $maxNarSize = 100 * 1024 * 1024;
|
||||||
|
|
||||||
system("@bunzip2@ < $srcNarBz2 > $tmpDir/A") == 0
|
system("@bunzip2@ < $srcNarBz2 > $tmpDir/A") == 0
|
||||||
or die "cannot unpack $srcNarBz2";
|
or die "cannot unpack $srcNarBz2";
|
||||||
|
|
|
@ -15,7 +15,7 @@ sub readDir {
|
||||||
}
|
}
|
||||||
|
|
||||||
readDir "/data/webserver/dist/nix-cache";
|
readDir "/data/webserver/dist/nix-cache";
|
||||||
readDir "/data/webserver/dist/test";
|
readDir "/data/webserver/dist/test-cache";
|
||||||
readDir "/data/webserver/dist/patches";
|
readDir "/data/webserver/dist/patches";
|
||||||
|
|
||||||
print STDERR scalar (keys %archives), "\n";
|
print STDERR scalar (keys %archives), "\n";
|
||||||
|
|
Loading…
Reference in a new issue