summaryrefslogtreecommitdiff
path: root/src/feature/nodelist
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-03-02 13:20:07 -0500
committerDavid Goulet <dgoulet@torproject.org>2022-03-15 13:28:17 -0400
commit9a4737209617ac9356f77a76b8ee3b38391c1922 (patch)
treefaa05a122ffd919cc7896912972d75f0bd1b5a8f /src/feature/nodelist
parent1934e24469bf7184b825efe2b9b0436b1bc35695 (diff)
downloadtor-9a4737209617ac9356f77a76b8ee3b38391c1922.tar.gz
tor-9a4737209617ac9356f77a76b8ee3b38391c1922.zip
rephist: Introduce a fraction and period for overload onionskin
This code was heavily reused from the previous DNS timeout work done in ticket #40491 that was removed afterall from our code. Closes #40560 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r--src/feature/nodelist/networkstatus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c
index 41fd312295..666083ae50 100644
--- a/src/feature/nodelist/networkstatus.c
+++ b/src/feature/nodelist/networkstatus.c
@@ -1666,6 +1666,7 @@ notify_before_networkstatus_changes(const networkstatus_t *old_c,
dos_consensus_has_changed(new_c);
relay_consensus_has_changed(new_c);
hs_dos_consensus_has_changed(new_c);
+ rep_hist_consensus_has_changed(new_c);
}
/* Called after a new consensus has been put in the global state. It is safe