X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=apt_p2p%2Fapt_p2p_conf.py;h=69f6a9c088bbe6641fbeaf9ebda4dabd6cf96750;hb=09472169824fc47c359cdee65652a12a7ba46806;hp=fe56d7c9c456f7460ae517c38c116e7ff154021c;hpb=1b2b271f65329a6bfaf7a5c935b9971834662865;p=quix0rs-apt-p2p.git diff --git a/apt_p2p/apt_p2p_conf.py b/apt_p2p/apt_p2p_conf.py index fe56d7c..69f6a9c 100644 --- a/apt_p2p/apt_p2p_conf.py +++ b/apt_p2p/apt_p2p_conf.py @@ -44,6 +44,12 @@ DEFAULTS = { # 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': home + '/.apt-p2p/cache',