]> git.saurik.com Git - apt.git/commitdiff
Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sid
authorMichael Vogt <mvo@debian.org>
Wed, 9 Oct 2013 12:55:01 +0000 (14:55 +0200)
committerMichael Vogt <mvo@debian.org>
Wed, 9 Oct 2013 12:55:01 +0000 (14:55 +0200)
apt-pkg/acquire-item.cc

index 04505b35a32990ac96a748b5b513101d37bbebda..b7692131212175e86cb19dc066ecb70e5f1fc237 100644 (file)
@@ -460,7 +460,7 @@ bool pkgAcqDiffIndex::ParseDiffIndex(string IndexDiffFile)          /*{{{*/
         if (available_patches.empty() == false)
         {
            // patching with too many files is rather slow compared to a fast download
-           unsigned long const fileLimit = _config->FindI("Acquire::PDiffs::FileLimit", 0);
+           unsigned long const fileLimit = _config->FindI("Acquire::PDiffs::FileLimit", 20);
            if (fileLimit != 0 && fileLimit < available_patches.size())
            {
               if (Debug)