]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt-p2p.conf
Fix some errors in the new twisted HTTP client's connectionLost() methods.
[quix0rs-apt-p2p.git] / apt-p2p.conf
index 65289351f5174dc5074b9ceabc0c0671ec31c598..2d40306e77a5d23d1ddcdb73761185d602879d52 100644 (file)
@@ -108,5 +108,16 @@ BUCKET_STALENESS = 1h
 # expire unrefreshed entries older than this
 KEY_EXPIRE = 1h
 
+# Timeout KRPC requests to nodes after this time.
+KRPC_TIMEOUT = 14s
+
+# KRPC requests are resent using exponential backoff starting with this delay.
+# The request will first be resent after the delay set here.
+# The request will be resent again after twice the delay set here. etc.
+# 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.
+KRPC_INITIAL_DELAY = 2s
+
 # whether to spew info about the requests/responses in the protocol
 SPEW = no