aboutsummaryrefslogtreecommitdiff
path: root/src/app/main
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2021-09-28 21:19:27 +0000
committerDavid Goulet <dgoulet@torproject.org>2021-10-04 10:45:46 -0400
commit6dae9903b1d5fe3c5df712eb99076a9adf9d5c8b (patch)
tree482f37bd6bfed74d73bdffd393096ff4e38d7030 /src/app/main
parent98be8634faf4405edc5388c64d9f834b6ae5b4b1 (diff)
downloadtor-6dae9903b1d5fe3c5df712eb99076a9adf9d5c8b.tar.gz
tor-6dae9903b1d5fe3c5df712eb99076a9adf9d5c8b.zip
Turn orconn watermarks into consensus parameters.
Tuning these may reduce memory usage and latency.
Diffstat (limited to 'src/app/main')
-rw-r--r--src/app/main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index 0742abe70a..6043b9589f 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -27,6 +27,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/circuitlist.h"
#include "core/or/command.h"
@@ -631,6 +632,7 @@ tor_init(int argc, char *argv[])
* until we get a consensus */
channelpadding_new_consensus_params(NULL);
circpad_new_consensus_params(NULL);
+ congestion_control_new_consensus_params(NULL);
flow_control_new_consensus_params(NULL);
/* Initialize circuit padding to defaults+torrc until we get a consensus */