X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=apt-p2p.conf;h=2d40306e77a5d23d1ddcdb73761185d602879d52;hb=f38a88ed92874d4f976feb29deed71737648bd2e;hp=65289351f5174dc5074b9ceabc0c0671ec31c598;hpb=19dab12a49b05e17b3fc9e6fc246c31f157b4f48;p=quix0rs-apt-p2p.git diff --git a/apt-p2p.conf b/apt-p2p.conf index 6528935..2d40306 100644 --- a/apt-p2p.conf +++ b/apt-p2p.conf @@ -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