diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2021-09-28 21:19:27 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-10-04 10:45:46 -0400 |
commit | 6dae9903b1d5fe3c5df712eb99076a9adf9d5c8b (patch) | |
tree | 482f37bd6bfed74d73bdffd393096ff4e38d7030 /src/feature/nodelist | |
parent | 98be8634faf4405edc5388c64d9f834b6ae5b4b1 (diff) | |
download | tor-6dae9903b1d5fe3c5df712eb99076a9adf9d5c8b.tar.gz tor-6dae9903b1d5fe3c5df712eb99076a9adf9d5c8b.zip |
Turn orconn watermarks into consensus parameters.
Tuning these may reduce memory usage and latency.
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r-- | src/feature/nodelist/networkstatus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c index 0138dff033..6867d8c98e 100644 --- a/src/feature/nodelist/networkstatus.c +++ b/src/feature/nodelist/networkstatus.c @@ -45,6 +45,7 @@ #include "core/or/channel.h" #include "core/or/channelpadding.h" #include "core/or/circuitpadding.h" +#include "core/or/congestion_control_common.h" #include "core/or/congestion_control_flow.h" #include "core/or/circuitmux.h" #include "core/or/circuitmux_ewma.h" @@ -1700,6 +1701,7 @@ notify_after_networkstatus_changes(void) channelpadding_new_consensus_params(c); circpad_new_consensus_params(c); router_new_consensus_params(c); + congestion_control_new_consensus_params(c); flow_control_new_consensus_params(c); /* Maintenance of our L2 guard list */ |