diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:21 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:21 +0000 |
commit | ac13a42769043c415f7983a19b88027ac9aaede3 (patch) | |
tree | 8d662c65fe57266714a1b49c103e9fc33292e187 | |
parent | 9babd968efb0aacda1893a4d591a8b54f61df74e (diff) |
Double default value of APT::Cache-Limit, until such ti...
Author: doogie
Date: 2003-02-02 02:44:20 GMT
Double default value of APT::Cache-Limit, until such time as it can be made
more dynamic.
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 6 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index c01f3b35d..099a9a5eb 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: pkgcachegen.cc,v 1.52 2002/07/08 03:13:30 jgg Exp $ +// $Id: pkgcachegen.cc,v 1.53 2003/02/02 02:44:20 doogie Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -676,7 +676,7 @@ static bool BuildCache(pkgCacheGenerator &Gen, bool pkgMakeStatusCache(pkgSourceList &List,OpProgress &Progress, MMap **OutMap,bool AllowMem) { - unsigned long MapSize = _config->FindI("APT::Cache-Limit",6*1024*1024); + unsigned long MapSize = _config->FindI("APT::Cache-Limit",12*1024*1024); vector<pkgIndexFile *> Files(List.begin(),List.end()); unsigned long EndOfSource = Files.size(); @@ -812,7 +812,7 @@ bool pkgMakeStatusCache(pkgSourceList &List,OpProgress &Progress, /* */ bool pkgMakeOnlyStatusCache(OpProgress &Progress,DynamicMMap **OutMap) { - unsigned long MapSize = _config->FindI("APT::Cache-Limit",4*1024*1024); + unsigned long MapSize = _config->FindI("APT::Cache-Limit",8*1024*1024); vector<pkgIndexFile *> Files; unsigned long EndOfSource = Files.size(); if (_system->AddStatusFiles(Files) == false) diff --git a/debian/changelog b/debian/changelog index 4af7fcf24..72659f27b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -79,6 +79,8 @@ apt (0.5.5) unstable; urgency=low * Rebuild with gcc-3.2. Closes: #177752, #178008. * Fix build-dep handling of | dependencies. Closes: #98640, #145997, #158896, #172901 + * Double default value of APT::Cache-Limit, until such time as it + can be made more dynamic. Closes: #178623. -- Jason Gunthorpe <jgg@debian.org> Sun, 15 Sep 2002 17:16:59 -0600 |