diff options
author | Michael Vogt <mvo@debian.org> | 2013-08-26 21:09:33 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-08-26 21:09:33 +0200 |
commit | 51fc6def77edfb1f429a48e5169519e9e05a759b (patch) | |
tree | b107494eec4d838c8374e0e4cc24f52471bd515e /apt-pkg | |
parent | 17e4360804ffd2b5530b8ceb0e42834eb99e526e (diff) |
set Acquire::PDiffs::FileLimit to 20 to avoid needless huge fetches
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/acquire-item.cc | 2 |
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) |