aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-10-12 20:13:29 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-10-12 20:13:29 +0000
commit2a535689fe801441ef8e4a5c6659925528cce106 (patch)
tree0e27528e2328c9794864a57f8f8da62691c301d5 /scripts
parent7d4567f2cc16959e827f542e6de76a28ff11789e (diff)
* Reduce the maximum archive size for patch generation to 100 MB to
prevent trashing on nix.cs.uu.nl.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-patches.pl.in2
-rw-r--r--scripts/maintenance/readcache.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate-patches.pl.in b/scripts/generate-patches.pl.in
index 3a35b8518..4a0233f0f 100755
--- a/scripts/generate-patches.pl.in
+++ b/scripts/generate-patches.pl.in
@@ -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";
diff --git a/scripts/maintenance/readcache.pm b/scripts/maintenance/readcache.pm
index c0657913e..f6beeeeb4 100644
--- a/scripts/maintenance/readcache.pm
+++ b/scripts/maintenance/readcache.pm
@@ -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";