[tor-bugs] #23354 [Core Tor/Tor]: Remove deterministic download schedule code and configs

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 27 03:16:00 UTC 2018


#23354: Remove deterministic download schedule code and configs
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.4.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  refactor, s8-perf, technical-debt,   |  Actual Points:
  tor-bootstrap                                  |
Parent ID:                                       |         Points:  0.1
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8
-------------------------------------------------+-------------------------

Comment (by teor):

 Here's how we can remove these configs:
 * turn each download schedule config option into a single non-negative
 integer
 * set the default config value to the first item in each list
 * most schedules will be 0, so merge those schedules together, removing
 conditional code
 * maybe rename *DownloadSchedule to *DownloadInitialDelay

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


More information about the tor-bugs mailing list