aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/onion_queue.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-03-02 13:20:07 -0500
committerDavid Goulet <dgoulet@torproject.org>2022-03-29 10:30:28 -0400
commit7ce3edaee0eaf93f2f8fa60b859cf49118b9523b (patch)
treee316ac4587a46fd860f74b07090b91ef7f2635c2 /src/feature/relay/onion_queue.c
parentd14af825ce9b2dbacdc11aa73340458bfef5b190 (diff)
downloadtor-7ce3edaee0eaf93f2f8fa60b859cf49118b9523b.tar.gz
tor-7ce3edaee0eaf93f2f8fa60b859cf49118b9523b.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/relay/onion_queue.c')
-rw-r--r--src/feature/relay/onion_queue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/relay/onion_queue.c b/src/feature/relay/onion_queue.c
index 85ec0dc74a..c4023509ad 100644
--- a/src/feature/relay/onion_queue.c
+++ b/src/feature/relay/onion_queue.c
@@ -166,8 +166,6 @@ onion_pending_add(or_circuit_t *circ, create_cell_t *onionskin)
RATELIM_INIT(WARN_TOO_MANY_CIRC_CREATIONS_INTERVAL);
if (onionskin->handshake_type == ONION_HANDSHAKE_TYPE_NTOR) {
char *m;
- /* Note this ntor onionskin drop as an overload */
- rep_hist_note_overload(OVERLOAD_GENERAL);
if ((m = rate_limit_log(&last_warned, approx_time()))) {
log_warn(LD_GENERAL,
"Your computer is too slow to handle this many circuit "