]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - debian/apt-p2p.conf.sgml
Fixed an error in downloading source packages from peers.
[quix0rs-apt-p2p.git] / debian / apt-p2p.conf.sgml
index 301ccb1a5d7b7ec11a9e049b61600a9c2a6f1f1f..21b9d3dcd751b5b8c88cf5a02dc17e4c55d1ec17 100644 (file)
                  (Default is 9977.)</para>
            </listitem>
          </varlistentry>
+         <varlistentry>
+           <term><option>UPLOAD_LIMIT = <replaceable>speed</replaceable></option></term>
+            <listitem>
+             <para>The <replaceable>speed</replaceable> to limit sending data to peers to, in KBytes/sec.
+               Set this to 0 to not limit the upload bandwidth.
+               (Default is 0)</para>
+           </listitem>
+         </varlistentry>
+         <varlistentry>
+           <term><option>MIN_DOWNLOAD_PEERS = <replaceable>number</replaceable></option></term>
+            <listitem>
+             <para>The minimum <replaceable>number</replaceable> 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.                
+               (Default is 3)</para>
+           </listitem>
+         </varlistentry>
          <varlistentry>
            <term><option>CACHE_DIR = <replaceable>directory</replaceable></option></term>
             <listitem>
                (Default is false)</para>
            </listitem>
          </varlistentry>
+         <varlistentry>
+           <term><option>REMOTE_STATS = <replaceable>boolean</replaceable></option></term>
+            <listitem>
+             <para>Whether a remote peer can access the statistics page.
+               (Default is True)</para>
+           </listitem>
+         </varlistentry>
          <varlistentry>
            <term><option>UNLOAD_PACKAGES_CACHE = <replaceable>time</replaceable></option></term>
             <listitem>
                  (Default is 57 minutes.)</para>
            </listitem>
          </varlistentry>
+         <varlistentry>
+           <term><option>USERNAME = <replaceable>user</replaceable></option></term>
+            <listitem>
+             <para>The <replaceable>user</replaceable> name to try and run as.
+                 Leaving this blank will try to run as current user.
+                 (Default is 'apt-p2p'.)</para>
+           </listitem>
+         </varlistentry>
          <varlistentry>
            <term><option>DHT = <replaceable>string</replaceable></option></term>
             <listitem>
                (Default is false)</para>
            </listitem>
          </varlistentry>
-         <varlistentry>
-           <term><option>K = <replaceable>number</replaceable></option></term>
-            <listitem>
-             <para>The <replaceable>number</replaceable> of the Kademlia "K" constant.
-                 It should be an even number.
-                 (Default is 8.)</para>
-           </listitem>
-         </varlistentry>
-         <varlistentry>
-           <term><option>HASH_LENGTH = <replaceable>number</replaceable></option></term>
-            <listitem>
-             <para>The <replaceable>number</replaceable> of bits in the hash to use.
-                 (Default is 160.)</para>
-           </listitem>
-         </varlistentry>
          <varlistentry>
            <term><option>CHECKPOINT_INTERVAL = <replaceable>time</replaceable></option></term>
             <listitem>
                  (Default is 1 hour.)</para>
            </listitem>
          </varlistentry>
+         <varlistentry>
+           <term><option>KRPC_TIMEOUT = <replaceable>time</replaceable></option></term>
+            <listitem>
+             <para>The <replaceable>time</replaceable> to wait before KRPC requests timeout.
+                 (Default is 14 seconds.)</para>
+           </listitem>
+         </varlistentry>
+         <varlistentry>
+           <term><option>KRPC_INITIAL_DELAY = <replaceable>time</replaceable></option></term>
+            <listitem>
+             <para>The <replaceable>time</replaceable> to start with when resending KRPC requests using exponential backoff.
+                 The request will first be resent after the delay set here.
+                 The request will be resent again after twice the delay set here, and so on.
+                 e.g. if TIMEOUT is 14 sec., and INITIAL_DELAY is 2 sec., then requests will
+                 be resent at times 0, 2 (2 sec. later), and 6 (4 sec. later), and then will
+                 timeout at 14. (Default is 2 seconds.)</para>
+           </listitem>
+         </varlistentry>
          <varlistentry>
            <term><option>SPEW = <replaceable>boolean</replaceable></option></term>
             <listitem>