Make the upload limit a config option.
[quix0rs-apt-p2p.git] / test.py
diff --git a/test.py b/test.py
index 10ca2d6ba3a21d44d011d31becd6d8bda47cfed0..3fb7057ccf7e17700bd871962ddf3944103bedd3 100755 (executable)
--- 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