[tor-bugs] #25828 [Core Tor/Tor]: Our "has our write bucket been empty recently" check is dependent on TokenBucketRefillInterval

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 17 16:09:06 UTC 2018


#25828: Our "has our write bucket been empty recently" check is dependent on
TokenBucketRefillInterval
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #25373
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Found while working on #25373.

 We have a variable called `write_buckets_empty_last_second`, but it is not
 accurate: it is re-checked and re-set every TokenBucketRefillInterval,
 which is currently 100ms.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25828>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list