mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
7a8108ea87
With this commit, we will only report a general overload state if we've seen more than X% of DNS timeout errors over Y seconds. Previous behavior was to report when a single timeout occured which is really too small of a threshold. The value X is a consensus parameters called "overload_dns_timeout_scale_percent" which is a scaled percentage (factor of 1000) so we can represent decimal points for X like 0.5% for instance. Its default is 1000 which ends up being 1%. The value Y is a consensus parameters called "overload_dns_timeout_period_secs" which is the time period for which will gather DNS errors and once over, we assess if that X% has been reached ultimately triggering a general overload signal. Closes #40491 Signed-off-by: David Goulet <dgoulet@torproject.org>
8 lines
448 B
Plaintext
8 lines
448 B
Plaintext
o Major bugfixes (relay, overload state):
|
|
- Report the general overload state for DNS timeout errors only if X% of all
|
|
DNS queries over Y seconds are errors. Before that, it only took 1 timeout
|
|
to report the overload state which was just too low of a threshold. The X
|
|
and Y values are 1% and 10 minutes respectively but they are also
|
|
controlled by consensus parameters. Fixes bug 40491; bugfix on
|
|
0.4.6.1-alpha.
|