diff options
author | David Goulet <dgoulet@torproject.org> | 2018-01-29 11:50:11 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-01-30 09:18:16 -0500 |
commit | e58a4fc6cfcdeafc2ebfb61fd3cf6d163ce2436c (patch) | |
tree | 3747d076cdafbdab0ebe518f006f79f2395c8ad2 /changes/bug21576 | |
parent | a3714268f659998dc879ed723852440cd8be1b04 (diff) | |
download | tor-e58a4fc6cfcdeafc2ebfb61fd3cf6d163ce2436c.tar.gz tor-e58a4fc6cfcdeafc2ebfb61fd3cf6d163ce2436c.zip |
dos: Make circuit rate limit per second, not tenths anymore
Because this touches too many commits at once, it is made into one single
commit.
Remove the use of "tenths" for the circuit rate to simplify things. We can
only refill the buckets at best once every second because of the use of
approx_time() and our token system is set to be 1 token = 1 circuit so make
the rate a flat integer of circuit per second.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/bug21576')
0 files changed, 0 insertions, 0 deletions