]> git.ipfire.org Git - thirdparty/pdns.git/commit
calidns: accurate qps targets 6774/head
authorKonrad Wojas <github@m.wojas.nl>
Fri, 6 Jul 2018 12:31:13 +0000 (20:31 +0800)
committerKonrad Wojas <github@m.wojas.nl>
Fri, 6 Jul 2018 13:58:05 +0000 (21:58 +0800)
commit9e8a59fc9dcabb7a645caf2af22efef9508a84f8
tree58a9801e2172f4121c1ecdee5d3bac812d6329e2
parent13fecbbbdf1bcad5eb29bec84f13d2c0b93a83cc
calidns: accurate qps targets

Instead of a naive fixed sleep between batch sends, check the actual time
passed to determine how long to sleep. This allows calidns to actually
reach qps targets at higher rates.
pdns/calidns.cc