From 56ef09c3a16c0777bc3ee8684923320b0d858190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 1 Nov 2019 12:22:56 -0500 Subject: [PATCH] Describe the polynomial backoff curve used in the quota adjustment --- lib/dns/adb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dns/adb.c b/lib/dns/adb.c index fd937bbb9f..4c670f07c8 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -4171,7 +4171,9 @@ dns_adb_changeflags(dns_adb_t *adb, dns_adbaddrinfo_t *addr, } /* - * (10000 / ((10 + n) / 10)^(3/2)) for n in 0..99. + * The polynomial backoff curve (10000 / ((10 + n) / 10)^(3/2)) <0..99> drops + * fairly aggressively at first, then slows down and tails off at around 2-3%. + * * These will be used to make quota adjustments. */ static int quota_adj[] = {