aboutsummaryrefslogtreecommitdiff
path: root/src/feature/stats/rephist.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-12-13 10:44:24 -0500
committerDavid Goulet <dgoulet@torproject.org>2021-12-13 10:49:00 -0500
commitbf1ed5c8534c515bf1ee39bfbf8c340d704b4490 (patch)
treec41e7da0c098fa65d3a62bb510864353971b2953 /src/feature/stats/rephist.h
parentad6a0ebb119dba09fd1a0d1d6eb2a1362803bce3 (diff)
downloadtor-bf1ed5c8534c515bf1ee39bfbf8c340d704b4490.tar.gz
tor-bf1ed5c8534c515bf1ee39bfbf8c340d704b4490.zip
relay: Change DNS timeout label on MetricsPort
Change it from "timeout" to "tor_timeout" in order to indicate that the DNS timeout is one from tor's DNS threshold and not the DNS server itself. Fixes #40527 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/stats/rephist.h')
-rw-r--r--src/feature/stats/rephist.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/stats/rephist.h b/src/feature/stats/rephist.h
index 6918ed18c2..7f414de4c8 100644
--- a/src/feature/stats/rephist.h
+++ b/src/feature/stats/rephist.h
@@ -89,8 +89,6 @@ uint64_t rep_hist_get_n_dns_request(int type);
void rep_hist_note_dns_request(int type);
void rep_hist_note_dns_error(int type, uint8_t error);
-void rep_hist_consensus_has_changed(const networkstatus_t *ns);
-
extern uint64_t rephist_total_alloc;
extern uint32_t rephist_total_num;
#ifdef TOR_UNIT_TESTS