From 6dae9903b1d5fe3c5df712eb99076a9adf9d5c8b Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Tue, 28 Sep 2021 21:19:27 +0000 Subject: Turn orconn watermarks into consensus parameters. Tuning these may reduce memory usage and latency. --- src/app/main/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app/main') 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 */ -- cgit v1.2.3-54-g00ecf