mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Refactor responsibility for checking global write bucket emptiness
We used to do this 10x per second in connection_buckets_refill(); instead, we now do it when the bucket becomes empty. This change is part of the work of making connection_buckets_refill() obsolete. Closes ticket 25828; bugfix on 0.2.3.5-alpha.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
o Minor bugfixes (bandwidth management):
|
||||
- Consider ourselves "low on write bandwidth" if we have exhausted our
|
||||
write bandwidth some time in the last second. This was the
|
||||
documented behavior before, but the actual behavior was to change
|
||||
this value every TokenBucketRefillInterval. Fixes bug 25828; bugfix on
|
||||
0.2.3.5-alpha.
|
||||
|
||||
Reference in New Issue
Block a user