summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-09 14:55:01 +0200
committerMichael Vogt <mvo@debian.org>2013-10-09 14:55:01 +0200
commite910e489479bc1b854bc89d293c6f3011e494f11 (patch)
tree441c1a38060ad3026c7dcad82dbee56f9a54a4f4 /apt-pkg
parentb676b94100393abb2bb83343cfd8b92c4e86ee1e (diff)
parent51fc6def77edfb1f429a48e5169519e9e05a759b (diff)
Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sid
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 04505b35a..b76921312 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -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)