diff options
author | David Goulet <dgoulet@torproject.org> | 2022-03-02 13:20:07 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2022-03-15 13:28:17 -0400 |
commit | 9a4737209617ac9356f77a76b8ee3b38391c1922 (patch) | |
tree | faa05a122ffd919cc7896912972d75f0bd1b5a8f /src/feature/relay/onion_queue.c | |
parent | 1934e24469bf7184b825efe2b9b0436b1bc35695 (diff) | |
download | tor-9a4737209617ac9356f77a76b8ee3b38391c1922.tar.gz tor-9a4737209617ac9356f77a76b8ee3b38391c1922.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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/relay/onion_queue.c b/src/feature/relay/onion_queue.c index b0bb71a084..81a655135d 100644 --- a/src/feature/relay/onion_queue.c +++ b/src/feature/relay/onion_queue.c @@ -191,8 +191,6 @@ onion_pending_add(or_circuit_t *circ, create_cell_t *onionskin) rep_hist_note_circuit_handshake_dropped(queue_idx); if (queue_idx == 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 " |