summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-26 21:09:33 +0200
committerMichael Vogt <mvo@debian.org>2013-08-26 21:09:33 +0200
commit51fc6def77edfb1f429a48e5169519e9e05a759b (patch)
treeb107494eec4d838c8374e0e4cc24f52471bd515e /apt-pkg
parent17e4360804ffd2b5530b8ceb0e42834eb99e526e (diff)
set Acquire::PDiffs::FileLimit to 20 to avoid needless huge fetches
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 97b2d1e29..da00c9dd5 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -434,7 +434,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)