summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-11-09 12:49:23 -0500
committerDavid Goulet <dgoulet@torproject.org>2022-11-09 13:13:21 -0500
commite3f6908984c6f2e6361a1a15f37d6bb0647efda9 (patch)
treec7afb64fa267fb53625ff9f56e32dac178368a55 /changes
parent9c8c7804d535b4248e7e029c969d9a77a54947f6 (diff)
downloadtor-e3f6908984c6f2e6361a1a15f37d6bb0647efda9.tar.gz
tor-e3f6908984c6f2e6361a1a15f37d6bb0647efda9.zip
relay: Make the max pending tasks per CPU a consensus parameter
Until now, there was this magic number (64) used as the maximum number of tasks a CPU worker can take at once. This commit makes it a consensus parameter so our future selves can think of a better value depending on network conditions. Part of #40704 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes')
-rw-r--r--changes/ticket407042
1 files changed, 2 insertions, 0 deletions
diff --git a/changes/ticket40704 b/changes/ticket40704
index b65e88ea09..b1a83488da 100644
--- a/changes/ticket40704
+++ b/changes/ticket40704
@@ -2,3 +2,5 @@
- Two new consensus parameters are added to control the wait time in queue
of the onionskins. One of them is the torrc MaxOnionQueueDelay options
which supersedes the consensus parameter. Closes ticket 40704.
+ - Change a hardcoded value for the maximum of per CPU tasks into a
+ consensus parameter.