]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt-p2p.conf
Use the mirror as a peer when there are few peers for a file.
[quix0rs-apt-p2p.git] / apt-p2p.conf
index 249de43f24d8851a75528d46607ca6ab8422b96b..6121547c516d9399e33915707d7ab0b8f817e53a 100644 (file)
@@ -22,6 +22,12 @@ PORT = 9977
 # Set this to 0 to not limit the upload bandwidth.
 UPLOAD_LIMIT = 0
 
+# The minimum number of peers before the mirror is not used.
+# If there are fewer peers than this for a file, the mirror will also be
+# used to speed up the download. Set to 0 to never use the mirror if
+# there are peers.
+MIN_DOWNLOAD_PEERS = 3
+
 # Directory to store the downloaded files in
 CACHE_DIR = /var/cache/apt-p2p