X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=test.py;fp=test.py;h=3fb7057ccf7e17700bd871962ddf3944103bedd3;hp=10ca2d6ba3a21d44d011d31becd6d8bda47cfed0;hb=6d23f1559df1435172f1da25ae0f57ae11a24bde;hpb=79881b55b22f229afa46f1e71ee61358fa5a9f4b diff --git a/test.py b/test.py index 10ca2d6..3fb7057 100755 --- a/test.py +++ b/test.py @@ -318,6 +318,10 @@ apt_p2p_conf_template = """ # Port to listen on for all requests (TCP and UDP) PORT = %(PORT)s +# The rate to limit sending data to peers to, in KBytes/sec. +# Set this to 0 to not limit the upload bandwidth. +UPLOAD_LIMIT = 100 + # Directory to store the downloaded files in CACHE_DIR = %(CACHE_DIR)s