[tor-bugs] #28197 [Core Tor/sbws]: Rename some bandwidth file keys in the code

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 25 10:47:33 UTC 2018


#28197: Rename some bandwidth file keys in the code
---------------------------+-------------------------------------
 Reporter:  juga           |          Owner:  juga
     Type:  defect         |         Status:  assigned
 Priority:  Medium         |      Milestone:  sbws 1.0 (MVP must)
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #28085         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-------------------------------------

Comment (by juga):

 I'd eliminate the parts that have `_bs` in their name, it was added to
 know that the unit was Bytes, but it's not clear from the name and if they
 unit is not specified the default should be Bytes.
 The names of the keys after eliminating `_bs` are:
 `bw_median`, `bw_mean`, `desc_avg_bw`, `desc_obs_bw_last`,
 `desc_obs_bw_mean`

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


More information about the tor-bugs mailing list