]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - debian/apt-p2p.conf.sgml
Make the DHT timeouts configuration parameters.
[quix0rs-apt-p2p.git] / debian / apt-p2p.conf.sgml
index cd08a40bacbb4cad5a19e2a3cb6653b4e6c5cb7e..21b9d3dcd751b5b8c88cf5a02dc17e4c55d1ec17 100644 (file)
                  (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>