diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-12T20·13+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-12T20·13+0000 |
commit | 2a535689fe801441ef8e4a5c6659925528cce106 (patch) | |
tree | 0e27528e2328c9794864a57f8f8da62691c301d5 /scripts | |
parent | 7d4567f2cc16959e827f542e6de76a28ff11789e (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-x | scripts/generate-patches.pl.in | 2 | ||||
-rw-r--r-- | scripts/maintenance/readcache.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate-patches.pl.in b/scripts/generate-patches.pl.in index 3a35b8518cbd..4a0233f0f931 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 c0657913eafc..f6beeeeb46d0 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"; |