]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: retransmit based on current score
authorMarek Vavrusa <marek@vavrusa.com>
Mon, 5 Sep 2016 00:42:03 +0000 (17:42 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Mon, 5 Sep 2016 00:42:03 +0000 (17:42 -0700)
commit1a568228c7257710df5bf201d916eece49c8e94f
tree952ed961544a0c6b3d839fb15a17695b689ca5e3
parent5013e18b9a52e2731eea514df95978c083d71f40
daemon/worker: retransmit based on current score

if the score is known (and not glued), the retry
rate is <avg(rtt), 250ms>

if the NS score is unknown or worse than 250ms,
it is always retried at this rate

all other servers in the list use default rate
daemon/worker.c
lib/defines.h