[tor-bugs] #28864 [Core Tor/sbws]: sbws AsyncResults have no timeout

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 8 16:27:27 UTC 2019


#28864: sbws AsyncResults have no timeout
---------------------------+-----------------------------------
 Reporter:  teor           |          Owner:  juga
     Type:  defect         |         Status:  merge_ready
 Priority:  Medium         |      Milestone:  sbws: 1.1.x-final
Component:  Core Tor/sbws  |        Version:  sbws: 1.0.2
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #28663         |         Points:  1
 Reviewer:  nickm          |        Sponsor:
---------------------------+-----------------------------------

Comment (by juga):

 Replying to [comment:11 nickm]:
 > For my own curiosity: why is the time cutoff set to "the number of
 releys to measure multiplied by TIMEOUT_MEASUREMENTS (around 90mins)"?

 Well spotted. Actually when measuring 300 relays it takes around 90min. In
 the case a relay doesn't get measured in 3min, there's no need to wait
 that 300 relays take each of them 3min, it can just finish when there hasn
 not been any relay measured in that time.
 I commited a fixup to do that, tested the whole loop in the public network
 and works.

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


More information about the tor-bugs mailing list